final class RapidsHostColumnBuilder extends AutoCloseable
This is a copy of the cudf HostColumnVector.ColumnBuilder class. Moving this here to allow for iterating on host memory oom handling.
- Alphabetic
- By Inheritance
- RapidsHostColumnBuilder
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
-
def
append(value: Array[Byte], srcOffset: Int, length: Int): RapidsHostColumnBuilder
Append multiple non-null byte values.
- def append(value: String): RapidsHostColumnBuilder
- def append(unscaledVal: BigInteger): RapidsHostColumnBuilder
- def append(value: BigDecimal): RapidsHostColumnBuilder
- final def append(value: Boolean): RapidsHostColumnBuilder
- final def append(value: Double): RapidsHostColumnBuilder
- final def append(value: Float): RapidsHostColumnBuilder
- final def append(value: Long): RapidsHostColumnBuilder
- final def append(value: Int): RapidsHostColumnBuilder
- final def append(value: Short): RapidsHostColumnBuilder
- final def append(value: Byte): RapidsHostColumnBuilder
-
def
appendByteList(value: Array[Byte], srcOffset: Int, length: Int): RapidsHostColumnBuilder
Appends bytes to a LIST of INT8/UINT8
-
def
appendByteList(value: Array[Byte]): RapidsHostColumnBuilder
Appends byte to a LIST of INT8/UINT8
-
def
appendDecimal128(binary: Array[Byte]): RapidsHostColumnBuilder
Accepts a byte array containing the two's-complement representation of the unscaled value, which is in big-endian byte-order.
Accepts a byte array containing the two's-complement representation of the unscaled value, which is in big-endian byte-order. Then, transforms it into the representation of cuDF Decimal128 for appending. This method is more efficient than
append(BigInteger unscaledVal)if we can directly access the two's-complement representation of a BigDecimal without encoding via the methodtoByteArray. -
def
appendLists(inputLists: <repeated...>[List]): RapidsHostColumnBuilder
- Annotations
- @SuppressWarnings()
- final def appendNull(): RapidsHostColumnBuilder
- def appendStructValues(inputList: <repeated...>[StructData]): RapidsHostColumnBuilder
- def appendStructValues(inputList: List[StructData]): RapidsHostColumnBuilder
- def appendUTF8String(value: Array[Byte], srcOffset: Int, length: Int): RapidsHostColumnBuilder
- def appendUTF8String(value: Array[Byte]): RapidsHostColumnBuilder
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def build(): HostColumnVector
-
final
def
buildAndPutOnDevice(): ColumnVector
Finish and create the immutable ColumnVector, copied to the device.
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
close(): Unit
- Definition Classes
- RapidsHostColumnBuilder → AutoCloseable
- Annotations
- @Override()
-
def
endList(): RapidsHostColumnBuilder
If you want to build up a list column you can get
builder.getChild(0)and append to than, then when you are done callendListand everything that was appended to that builder will now be in the next list.If you want to build up a list column you can get
builder.getChild(0)and append to than, then when you are done callendListand everything that was appended to that builder will now be in the next list. Do not start to append to the child and then append a null to this without ending the list first or you might not get the results that you expected.- returns
this for chaining.
-
def
endStruct(): RapidsHostColumnBuilder
If you want to build up a struct column you can get each child
builder.getChild(N)and append to all of them, then when you are done callendStructto update this builder.If you want to build up a struct column you can get each child
builder.getChild(N)and append to all of them, then when you are done callendStructto update this builder. Do not start to append to the child and then append a null to this without ending the struct first or you might not get the results that you expected.- returns
this for chaining.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def getChild(index: Int): RapidsHostColumnBuilder
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getCurrentIndex(): Int
-
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
- RapidsHostColumnBuilder → AnyRef → Any
- Annotations
- @Override()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()