Packages

c

org.apache.spark.sql.execution.vectorized

ConstantColumnVector

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.

Linear Supertypes
ColumnVector, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConstantColumnVector
  2. ColumnVector
  3. AutoCloseable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ConstantColumnVector(numRows: Int, type: DataType)

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( ... ) @native()
  6. def close(): Unit
    Definition Classes
    ConstantColumnVector → ColumnVector → AutoCloseable
    Annotations
    @Override()
  7. final def dataType(): DataType
    Definition Classes
    ColumnVector
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def getArray(rowId: Int): ColumnarArray
    Definition Classes
    ConstantColumnVector → ColumnVector
    Annotations
    @Override()
  12. def getBinary(rowId: Int): Array[Byte]
    Definition Classes
    ConstantColumnVector → ColumnVector
    Annotations
    @Override()
  13. def getBoolean(rowId: Int): Boolean
    Definition Classes
    ConstantColumnVector → ColumnVector
    Annotations
    @Override()
  14. def getBooleans(arg0: Int, arg1: Int): Array[Boolean]
    Definition Classes
    ColumnVector
  15. def getByte(rowId: Int): Byte
    Definition Classes
    ConstantColumnVector → ColumnVector
    Annotations
    @Override()
  16. def getBytes(arg0: Int, arg1: Int): Array[Byte]
    Definition Classes
    ColumnVector
  17. def getChild(ordinal: Int): ColumnVector
    Definition Classes
    ConstantColumnVector → ColumnVector
    Annotations
    @Override()
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def getDecimal(rowId: Int, precision: Int, scale: Int): Decimal
    Definition Classes
    ConstantColumnVector → ColumnVector
    Annotations
    @Override()
  20. def getDouble(rowId: Int): Double
    Definition Classes
    ConstantColumnVector → ColumnVector
    Annotations
    @Override()
  21. def getDoubles(arg0: Int, arg1: Int): Array[Double]
    Definition Classes
    ColumnVector
  22. def getFloat(rowId: Int): Float
    Definition Classes
    ConstantColumnVector → ColumnVector
    Annotations
    @Override()
  23. def getFloats(arg0: Int, arg1: Int): Array[Float]
    Definition Classes
    ColumnVector
  24. def getInt(rowId: Int): Int
    Definition Classes
    ConstantColumnVector → ColumnVector
    Annotations
    @Override()
  25. final def getInterval(arg0: Int): CalendarInterval
    Definition Classes
    ColumnVector
  26. def getInts(arg0: Int, arg1: Int): Array[Int]
    Definition Classes
    ColumnVector
  27. def getLong(rowId: Int): Long
    Definition Classes
    ConstantColumnVector → ColumnVector
    Annotations
    @Override()
  28. def getLongs(arg0: Int, arg1: Int): Array[Long]
    Definition Classes
    ColumnVector
  29. def getMap(ordinal: Int): ColumnarMap
    Definition Classes
    ConstantColumnVector → ColumnVector
    Annotations
    @Override()
  30. def getShort(rowId: Int): Short
    Definition Classes
    ConstantColumnVector → ColumnVector
    Annotations
    @Override()
  31. def getShorts(arg0: Int, arg1: Int): Array[Short]
    Definition Classes
    ColumnVector
  32. final def getStruct(arg0: Int): ColumnarRow
    Definition Classes
    ColumnVector
  33. def getUTF8String(rowId: Int): UTF8String
    Definition Classes
    ConstantColumnVector → ColumnVector
    Annotations
    @Override()
  34. def hasNull(): Boolean
    Definition Classes
    ConstantColumnVector → ColumnVector
    Annotations
    @Override()
  35. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  36. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  37. def isNullAt(rowId: Int): Boolean
    Definition Classes
    ConstantColumnVector → ColumnVector
    Annotations
    @Override()
  38. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  39. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  40. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  41. def numNulls(): Int
    Definition Classes
    ConstantColumnVector → ColumnVector
    Annotations
    @Override()
  42. def setArray(value: ColumnarArray): Unit

    Sets the ColumnarArray value for all rows

  43. def setBinary(value: Array[Byte]): Unit

    Sets the binary value for all rows

  44. def setBoolean(value: Boolean): Unit

    Sets the boolean value for all rows

  45. def setByte(value: Byte): Unit

    Sets the byte value for all rows

  46. def setChild(ordinal: Int, value: ConstantColumnVector): Unit

    Sets the child ConstantColumnVector value at the given ordinal for all rows

  47. def setDecimal(value: Decimal, precision: Int): Unit

    Sets the Decimal value with the precision for all rows

  48. def setDouble(value: Double): Unit

    Sets the double value for all rows

  49. def setFloat(value: Float): Unit

    Sets the float value for all rows

  50. def setInt(value: Int): Unit

    Sets the int value for all rows

  51. def setLong(value: Long): Unit

    Sets the long value for all rows

  52. def setMap(value: ColumnarMap): Unit

    Sets the ColumnarMap value for all rows

  53. def setNotNull(): Unit

    Sets all rows as not null

  54. def setNull(): Unit

    Sets all rows as null

  55. def setShort(value: Short): Unit

    Sets the short value for all rows

  56. def setUtf8String(value: UTF8String): Unit

    Sets the UTF8String value for all rows

  57. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  58. def toString(): String
    Definition Classes
    AnyRef → Any
  59. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from ColumnVector

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped