Class Empty
- java.lang.Object
-
- org.apache.cassandra.spark.data.converter.types.Empty
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(java.lang.Object first, java.lang.Object second)org.apache.spark.sql.types.DataTypedataType(org.apache.cassandra.bridge.BigNumberConfig bigNumberConfig)java.lang.ObjectnativeSparkSqlRowValue(org.apache.spark.sql.catalyst.expressions.GenericInternalRow row, int position)java.lang.ObjectnativeSparkSqlRowValue(org.apache.spark.sql.Row row, int position)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Methods inherited from interface org.apache.cassandra.spark.data.converter.types.SparkType
compare, dataType, equals, equalsTo, sparkSqlRowValue, sparkSqlRowValue, toSparkSqlType, toTestRowType
-
-
-
-
Field Detail
-
INSTANCE
public static final Empty INSTANCE
-
-
Method Detail
-
dataType
public org.apache.spark.sql.types.DataType dataType(org.apache.cassandra.bridge.BigNumberConfig bigNumberConfig)
-
nativeSparkSqlRowValue
public java.lang.Object nativeSparkSqlRowValue(org.apache.spark.sql.catalyst.expressions.GenericInternalRow row, int position)- Specified by:
nativeSparkSqlRowValuein interfaceSparkType- Parameters:
row- a SparkSQL `org.apache.spark.sql.catalyst.expressions.GenericInternalRow`position- position in row- Returns:
- the SparkSQL value at `position` in the `row` converted back into test type - used only in the test system.
-
nativeSparkSqlRowValue
public java.lang.Object nativeSparkSqlRowValue(org.apache.spark.sql.Row row, int position)- Specified by:
nativeSparkSqlRowValuein interfaceSparkType- Parameters:
row- a SparkSQL `org.apache.spark.sql.Row`position- position in row- Returns:
- the SparkSQL value at `position` in the `row` converted back into test type - used only in the test system.
-
-