org.springframework.data.hadoop.store.input
Class AbstractSequenceFileReader
java.lang.Object
org.springframework.data.hadoop.store.support.LifecycleObjectSupport
org.springframework.data.hadoop.store.support.StoreObjectSupport
org.springframework.data.hadoop.store.input.AbstractSequenceFileReader
- All Implemented Interfaces:
- Aware, BeanFactoryAware, InitializingBean, Lifecycle, Phased, SmartLifecycle
- Direct Known Subclasses:
- TextSequenceFileReader
public abstract class AbstractSequenceFileReader
- extends StoreObjectSupport
A AbstractSequenceFileReader is a base implementation handling
reads with a SequenceFile.
- Author:
- Janne Valkealahti
| 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 |
AbstractSequenceFileReader
public AbstractSequenceFileReader(Configuration configuration,
Path basePath,
CodecInfo codec)
- Instantiates a new abstract sequence file reader.
- Parameters:
configuration - the hadoop configurationbasePath - the hdfs pathcodec - the compression codec info
getInput
protected SequenceFile.Reader getInput()
throws IOException
- Throws:
IOException