class ConstantColumnVector extends ColumnVector
This class adds the constant support to ColumnVector.
It supports all the types and contains set APIs,
which will set the exact same value to all rows.
Capacity: The vector stores only one copy of the data.
- Alphabetic
- By Inheritance
- ConstantColumnVector
- ColumnVector
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ConstantColumnVector(numRows: Int, type: DataType)
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 close(): Unit
- Definition Classes
- ConstantColumnVector → ColumnVector → AutoCloseable
- Annotations
- @Override()
- def closeIfFreeable(): Unit
- Definition Classes
- ConstantColumnVector → ColumnVector
- final def dataType(): DataType
- Definition Classes
- ColumnVector
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def getArray(rowId: Int): ColumnarArray
- Definition Classes
- ConstantColumnVector → ColumnVector
- Annotations
- @Override()
- def getBinary(rowId: Int): Array[Byte]
- Definition Classes
- ConstantColumnVector → ColumnVector
- Annotations
- @Override()
- def getBoolean(rowId: Int): Boolean
- Definition Classes
- ConstantColumnVector → ColumnVector
- Annotations
- @Override()
- def getBooleans(arg0: Int, arg1: Int): Array[Boolean]
- Definition Classes
- ColumnVector
- def getByte(rowId: Int): Byte
- Definition Classes
- ConstantColumnVector → ColumnVector
- Annotations
- @Override()
- def getBytes(arg0: Int, arg1: Int): Array[Byte]
- Definition Classes
- ColumnVector
- def getChild(ordinal: Int): ColumnVector
- Definition Classes
- ConstantColumnVector → ColumnVector
- Annotations
- @Override()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getDecimal(rowId: Int, precision: Int, scale: Int): Decimal
- Definition Classes
- ConstantColumnVector → ColumnVector
- Annotations
- @Override()
- def getDouble(rowId: Int): Double
- Definition Classes
- ConstantColumnVector → ColumnVector
- Annotations
- @Override()
- def getDoubles(arg0: Int, arg1: Int): Array[Double]
- Definition Classes
- ColumnVector
- def getFloat(rowId: Int): Float
- Definition Classes
- ConstantColumnVector → ColumnVector
- Annotations
- @Override()
- def getFloats(arg0: Int, arg1: Int): Array[Float]
- Definition Classes
- ColumnVector
- def getInt(rowId: Int): Int
- Definition Classes
- ConstantColumnVector → ColumnVector
- Annotations
- @Override()
- final def getInterval(arg0: Int): CalendarInterval
- Definition Classes
- ColumnVector
- def getInts(arg0: Int, arg1: Int): Array[Int]
- Definition Classes
- ColumnVector
- def getLong(rowId: Int): Long
- Definition Classes
- ConstantColumnVector → ColumnVector
- Annotations
- @Override()
- def getLongs(arg0: Int, arg1: Int): Array[Long]
- Definition Classes
- ColumnVector
- def getMap(ordinal: Int): ColumnarMap
- Definition Classes
- ConstantColumnVector → ColumnVector
- Annotations
- @Override()
- def getShort(rowId: Int): Short
- Definition Classes
- ConstantColumnVector → ColumnVector
- Annotations
- @Override()
- def getShorts(arg0: Int, arg1: Int): Array[Short]
- Definition Classes
- ColumnVector
- final def getStruct(arg0: Int): ColumnarRow
- Definition Classes
- ColumnVector
- def getUTF8String(rowId: Int): UTF8String
- Definition Classes
- ConstantColumnVector → ColumnVector
- Annotations
- @Override()
- def hasNull(): Boolean
- Definition Classes
- ConstantColumnVector → ColumnVector
- Annotations
- @Override()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isNullAt(rowId: Int): Boolean
- Definition Classes
- ConstantColumnVector → ColumnVector
- Annotations
- @Override()
- 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 numNulls(): Int
- Definition Classes
- ConstantColumnVector → ColumnVector
- Annotations
- @Override()
- def setArray(value: ColumnarArray): Unit
Sets the
ColumnarArrayvaluefor all rows - def setBinary(value: Array[Byte]): Unit
Sets the binary
valuefor all rows - def setBoolean(value: Boolean): Unit
Sets the boolean
valuefor all rows - def setByte(value: Byte): Unit
Sets the byte
valuefor all rows - def setCalendarInterval(value: CalendarInterval): Unit
Sets the CalendarInterval
valuefor all rows - def setChild(ordinal: Int, value: ConstantColumnVector): Unit
Sets the child
ConstantColumnVectorvalueat the given ordinal for all rows - def setDecimal(value: Decimal, precision: Int): Unit
Sets the
Decimalvaluewith the precision for all rows - def setDouble(value: Double): Unit
Sets the double
valuefor all rows - def setFloat(value: Float): Unit
Sets the float
valuefor all rows - def setInt(value: Int): Unit
Sets the int
valuefor all rows - def setLong(value: Long): Unit
Sets the long
valuefor all rows - def setMap(value: ColumnarMap): Unit
Sets the
ColumnarMapvaluefor all rows - def setNotNull(): Unit
Sets all rows as not
null - def setNull(): Unit
Sets all rows as
null - def setShort(value: Short): Unit
Sets the short
valuefor all rows - def setUtf8String(value: UTF8String): Unit
Sets the
UTF8Stringvaluefor all rows - 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()