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.
- Alphabetic
- By Inheritance
- ExternalOffsetVerticaFileRecordBatch
- Serializable
- Product
- Equals
- VerticaRecordBatch
- FileRecordBatch
- RecordBatch
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ExternalOffsetVerticaFileRecordBatch(file: File, fileId: Long, recordRanges: Seq[StreamRange], copyStatementTemplate: String)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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
- ExternalOffsetVerticaFileRecordBatch → VerticaRecordBatch
- val copyStatementTemplate: String
- 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
- FileRecordBatch → RecordBatch
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val file: File
- Definition Classes
- ExternalOffsetVerticaFileRecordBatch → FileRecordBatch
- val fileId: Long
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- 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
- ExternalOffsetVerticaFileRecordBatch → RecordBatch
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()