Packages

c

com.adform.streamloader.vertica

ExternalOffsetVerticaFileRecordBatch

case class ExternalOffsetVerticaFileRecordBatch(file: File, fileId: Long, recordRanges: Seq[StreamRange], copyStatementTemplate: String) extends FileRecordBatch with VerticaRecordBatch with Product with Serializable

A file based Vertica record batch with an extra pre-generated file ID that is used as a foreign key when storing the records and offsets to separate tables.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExternalOffsetVerticaFileRecordBatch
  2. Serializable
  3. Product
  4. Equals
  5. VerticaRecordBatch
  6. FileRecordBatch
  7. RecordBatch
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ExternalOffsetVerticaFileRecordBatch(file: File, fileId: Long, recordRanges: Seq[StreamRange], copyStatementTemplate: String)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def copyStatement(table: String): String

    Generates a COPY statement to load the batch to a destination table.

    Generates a COPY statement to load the batch to a destination table.

    table

    Vertica table to load data into.

    returns

    A COPY statement.

    Definition Classes
    ExternalOffsetVerticaFileRecordBatchVerticaRecordBatch
  7. val copyStatementTemplate: String
  8. def discard(): Boolean

    Performs any necessary cleanup after the batch is no longer needed, e.g.

    Performs any necessary cleanup after the batch is no longer needed, e.g. deletes any underlying files.

    returns

    Whether the discard operation succeeded.

    Definition Classes
    FileRecordBatchRecordBatch
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. val file: File
  11. val fileId: Long
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. def productElementNames: Iterator[String]
    Definition Classes
    Product
  18. val recordRanges: Seq[StreamRange]

    Gets the ranges of records in each topic partition contained in the batch.

    Gets the ranges of records in each topic partition contained in the batch.

    Definition Classes
    ExternalOffsetVerticaFileRecordBatchRecordBatch
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from VerticaRecordBatch

Inherited from FileRecordBatch

Inherited from RecordBatch

Inherited from AnyRef

Inherited from Any

Ungrouped