com.adform.streamloader.vertica.file.native
NativeVerticaRecordEncoder
Companion object NativeVerticaRecordEncoder
trait NativeVerticaRecordEncoder[R] extends AnyRef
An encoder for encoding records to rows in the native Vertica file format. Implementations need to define the encoding by composing calls to a provided primitive type writer, static column sizes and nullability of each field have to be defined separately.
- R
Type of records being encoded.
- Alphabetic
- By Inheritance
- NativeVerticaRecordEncoder
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def setNullBits(record: R, setter: (Int) => Unit): Unit
Invokes the provided
setter
method for each column that is null in a given record, provides the ordinal position of the column as an argument to the setter. - abstract def staticColumnSizes: Array[Int]
Gets an array of static data type sizes for each column.
Gets an array of static data type sizes for each column. Variable length columns have static sizes of -1.
- abstract def write(record: R, primitiveTypeWriter: NativeVerticaPrimitiveTypeWriter): Unit
Writes a given record using the provided primitive type writer.
Concrete 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()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()