|
Spring for Apache Hadoop | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.data.hadoop.store.support.LifecycleObjectSupport
org.springframework.data.hadoop.store.support.StoreObjectSupport
org.springframework.data.hadoop.store.input.AbstractDataStreamReader
public class AbstractDataStreamReader
A AbstractDataStreamReader is a base implementation handling
streams with a raw hdfs files.
| Constructor Summary | |
|---|---|
AbstractDataStreamReader(org.apache.hadoop.conf.Configuration configuration,
org.apache.hadoop.fs.Path basePath,
CodecInfo codec)
Instantiates a new abstract data stream reader. |
|
| Method Summary | |
|---|---|
protected StreamsHolder<java.io.InputStream> |
getInput(org.apache.hadoop.fs.Path inputPath)
Gets the input. |
| Methods inherited from class org.springframework.data.hadoop.store.support.StoreObjectSupport |
|---|
doStart, doStop, getCodec, getConfiguration, getPath, handleIdleTimeout, isCompressed, onInit, resetIdleTimeout, setIdleTimeout |
| Methods inherited from class org.springframework.data.hadoop.store.support.LifecycleObjectSupport |
|---|
afterPropertiesSet, getBeanFactory, getPhase, getStoreEventPublisher, getTaskExecutor, getTaskScheduler, isAutoStartup, isRunning, setAutoStartup, setBeanFactory, setPhase, setStoreEventPublisher, setTaskExecutor, setTaskScheduler, start, stop, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractDataStreamReader(org.apache.hadoop.conf.Configuration configuration,
org.apache.hadoop.fs.Path basePath,
CodecInfo codec)
configuration - the hadoop configurationbasePath - the hdfs pathcodec - the compression codec info| Method Detail |
|---|
protected StreamsHolder<java.io.InputStream> getInput(org.apache.hadoop.fs.Path inputPath)
throws java.io.IOException
inputPath - the input path
java.io.IOException - Signals that an I/O exception has occurred.
|
Spring for Apache Hadoop | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||