Class 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.AbstractBulkFileSystemAttributeWriter
    Bulk 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
      • Nested classes/interfaces inherited from interface cz.o2.proxima.direct.core.AttributeWriterBase

        cz.o2.proxima.direct.core.AttributeWriterBase.Factory<W extends cz.o2.proxima.direct.core.AttributeWriterBase>, cz.o2.proxima.direct.core.AttributeWriterBase.Type
      • Nested classes/interfaces inherited from interface cz.o2.proxima.direct.core.BulkAttributeWriter

        cz.o2.proxima.direct.core.BulkAttributeWriter.Factory<T extends cz.o2.proxima.direct.core.BulkAttributeWriter>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      cz.o2.proxima.direct.core.BulkAttributeWriter.Factory<?> asFactory()  
      protected void flush​(cz.o2.proxima.direct.io.bulkfs.AbstractBulkFileSystemAttributeWriter.Bulk bulk)  
      java.net.URI getUri()  
      • 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
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface cz.o2.proxima.direct.core.AttributeWriterBase

        bulk, online
      • Methods inherited from interface cz.o2.proxima.direct.core.BulkAttributeWriter

        getType
    • Constructor Detail

      • HadoopBulkAttributeWriter

        public HadoopBulkAttributeWriter​(HadoopDataAccessor accessor,
                                         cz.o2.proxima.direct.core.Context context)
    • Method Detail

      • getUri

        public java.net.URI getUri()
        Specified by:
        getUri in interface cz.o2.proxima.direct.core.AttributeWriterBase
        Overrides:
        getUri in class cz.o2.proxima.core.storage.AbstractStorage
      • flush

        protected void flush​(cz.o2.proxima.direct.io.bulkfs.AbstractBulkFileSystemAttributeWriter.Bulk bulk)
        Specified by:
        flush in class cz.o2.proxima.direct.io.bulkfs.AbstractBulkFileSystemAttributeWriter
      • asFactory

        public cz.o2.proxima.direct.core.BulkAttributeWriter.Factory<?> asFactory()