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. Protected

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

    Sets the ColumnarArray value for all rows

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

    Sets the binary value for all rows

  45. def setBoolean(value: Boolean): Unit

    Sets the boolean value for all rows

  46. def setByte(value: Byte): Unit

    Sets the byte value for all rows

  47. def setCalendarInterval(value: CalendarInterval): Unit

    Sets the CalendarInterval value for all rows

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

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

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

    Sets the Decimal value with the precision for all rows

  50. def setDouble(value: Double): Unit

    Sets the double value for all rows

  51. def setFloat(value: Float): Unit

    Sets the float value for all rows

  52. def setInt(value: Int): Unit

    Sets the int value for all rows

  53. def setLong(value: Long): Unit

    Sets the long value for all rows

  54. def setMap(value: ColumnarMap): Unit

    Sets the ColumnarMap value for all rows

  55. def setNotNull(): Unit

    Sets all rows as not null

  56. def setNull(): Unit

    Sets all rows as null

  57. def setShort(value: Short): Unit

    Sets the short value for all rows

  58. def setUtf8String(value: UTF8String): Unit

    Sets the UTF8String value for all rows

  59. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  60. def toString(): String
    Definition Classes
    AnyRef → Any
  61. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  62. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  63. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from ColumnVector

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped