Package cz.o2.proxima.direct.io.hadoop
Class HadoopBatchLogReader
- java.lang.Object
-
- cz.o2.proxima.direct.io.hadoop.HadoopBatchLogReader
-
- All Implemented Interfaces:
cz.o2.proxima.direct.core.batch.BatchLogReader
public class HadoopBatchLogReader extends java.lang.Object implements cz.o2.proxima.direct.core.batch.BatchLogReaderReader of data stored inSequenceFilesin HDFS.
-
-
Constructor Summary
Constructors Constructor Description HadoopBatchLogReader(HadoopDataAccessor accessor, cz.o2.proxima.direct.core.Context context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description cz.o2.proxima.direct.core.batch.BatchLogReader.Factory<?>asFactory()java.util.List<cz.o2.proxima.core.storage.Partition>getPartitions(long startStamp, long endStamp)cz.o2.proxima.direct.core.batch.ObserveHandleobserve(java.util.List<cz.o2.proxima.core.storage.Partition> partitions, java.util.List<cz.o2.proxima.core.repository.AttributeDescriptor<?>> attributes, cz.o2.proxima.direct.core.batch.BatchLogObserver observer)
-
-
-
Constructor Detail
-
HadoopBatchLogReader
public HadoopBatchLogReader(HadoopDataAccessor accessor, cz.o2.proxima.direct.core.Context context)
-
-
Method Detail
-
getPartitions
public java.util.List<cz.o2.proxima.core.storage.Partition> getPartitions(long startStamp, long endStamp)- Specified by:
getPartitionsin interfacecz.o2.proxima.direct.core.batch.BatchLogReader
-
observe
public cz.o2.proxima.direct.core.batch.ObserveHandle observe(java.util.List<cz.o2.proxima.core.storage.Partition> partitions, java.util.List<cz.o2.proxima.core.repository.AttributeDescriptor<?>> attributes, cz.o2.proxima.direct.core.batch.BatchLogObserver observer)- Specified by:
observein interfacecz.o2.proxima.direct.core.batch.BatchLogReader
-
asFactory
public cz.o2.proxima.direct.core.batch.BatchLogReader.Factory<?> asFactory()
- Specified by:
asFactoryin interfacecz.o2.proxima.direct.core.batch.BatchLogReader
-
-