Package cz.o2.proxima.direct.io.hadoop
Class HadoopBulkAttributeWriter
- java.lang.Object
-
- cz.o2.proxima.core.storage.AbstractStorage
-
- cz.o2.proxima.direct.core.AbstractAttributeWriter
-
- cz.o2.proxima.direct.core.AbstractBulkAttributeWriter
-
- cz.o2.proxima.direct.io.bulkfs.AbstractBulkFileSystemAttributeWriter
-
- cz.o2.proxima.direct.io.hadoop.HadoopBulkAttributeWriter
-
- All Implemented Interfaces:
cz.o2.proxima.direct.core.AttributeWriterBase,cz.o2.proxima.direct.core.BulkAttributeWriter,java.lang.AutoCloseable
public class HadoopBulkAttributeWriter extends cz.o2.proxima.direct.io.bulkfs.AbstractBulkFileSystemAttributeWriterBulk attribute writer to Hadoop FileSystem.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class cz.o2.proxima.direct.io.bulkfs.AbstractBulkFileSystemAttributeWriter
cz.o2.proxima.direct.io.bulkfs.AbstractBulkFileSystemAttributeWriter.Bulk
-
Nested classes/interfaces inherited from class cz.o2.proxima.core.storage.AbstractStorage
cz.o2.proxima.core.storage.AbstractStorage.SerializableAbstractStorage
-
-
Constructor Summary
Constructors Constructor Description HadoopBulkAttributeWriter(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.BulkAttributeWriter.Factory<?>asFactory()protected voidflush(cz.o2.proxima.direct.io.bulkfs.AbstractBulkFileSystemAttributeWriter.Bulk bulk)java.net.URIgetUri()-
Methods inherited from class cz.o2.proxima.direct.io.bulkfs.AbstractBulkFileSystemAttributeWriter
close, getAllowedLatenessMs, getContext, getExecutorFactory, getFormat, getFs, getNamingConvention, getRollPeriodMs, handleLateData, rollback, updateWatermark, write
-
Methods inherited from class cz.o2.proxima.core.storage.AbstractStorage
equals, getEntityDescriptor, hashCode
-
-
-
-
Constructor Detail
-
HadoopBulkAttributeWriter
public HadoopBulkAttributeWriter(HadoopDataAccessor accessor, cz.o2.proxima.direct.core.Context context)
-
-
Method Detail
-
getUri
public java.net.URI getUri()
- Specified by:
getUriin interfacecz.o2.proxima.direct.core.AttributeWriterBase- Overrides:
getUriin classcz.o2.proxima.core.storage.AbstractStorage
-
flush
protected void flush(cz.o2.proxima.direct.io.bulkfs.AbstractBulkFileSystemAttributeWriter.Bulk bulk)
- Specified by:
flushin classcz.o2.proxima.direct.io.bulkfs.AbstractBulkFileSystemAttributeWriter
-
asFactory
public cz.o2.proxima.direct.core.BulkAttributeWriter.Factory<?> asFactory()
-
-