Packages

object SchemaUtil

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SchemaUtil
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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 checkVariableType(stateVariableInfoOpt: Option[TransformWithStateVariableInfo], varType: StateVariableType): Boolean
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  10. def getCompositeKeySchema(schema: StructType, stateSourceOptions: StateSourceOptions): StructType

    Given key-value schema generated from generateSchemaForStateVar(), returns the compositeKey schema that key is stored in the state store

  11. def getSchemaAsDataType(schema: StructType, fieldName: String): DataType
  12. def getSourceSchema(sourceOptions: StateSourceOptions, keySchema: StructType, valueSchema: StructType, transformWithStateVariableInfoOpt: Option[TransformWithStateVariableInfo], stateStoreColFamilySchemaOpt: Option[StateStoreColFamilySchema]): StructType
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def isValidSchema(sourceOptions: StateSourceOptions, schema: StructType, transformWithStateVariableInfoOpt: Option[TransformWithStateVariableInfo]): Boolean
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  19. def processStateEntries(stateVarType: StateVariableType, stateVarName: String, store: ReadStateStore, compositeKeySchema: StructType, partitionId: Int, stateSourceOptions: StateSourceOptions): Iterator[InternalRow]
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. def unifyMapStateRowPair(stateRows: Iterator[UnsafeRowPair], compositeKeySchema: StructType, partitionId: Int, stateSourceOptions: StateSourceOptions): Iterator[InternalRow]

    For map state variables, state rows are stored as composite key.

    For map state variables, state rows are stored as composite key. To return grouping key -> Map{user key -> value} as one state reader row to the users, we need to perform grouping on state rows by their grouping key, and construct a map for that grouping key.

    We traverse the iterator returned from state store, and will only return a row for next() only if the grouping key in the next row from state store is different (or there are no more rows)

    Note that all state rows with the same grouping key are co-located so they will appear consecutively during the iterator traversal.

  23. def unifyStateRowPair(pair: (UnsafeRow, UnsafeRow), partition: Int): InternalRow
  24. def unifyStateRowPairWithMultipleValues(pair: (UnsafeRow, GenericArrayData), partition: Int): InternalRow
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped