Package org.gorpipe.spark
Class GorSparkRow
- java.lang.Object
-
- org.gorpipe.gor.model.Row
-
- org.gorpipe.spark.GorSparkRowBase
-
- org.gorpipe.spark.SparkRow
-
- org.gorpipe.spark.GorSparkRow
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<org.gorpipe.gor.model.Row>,org.apache.spark.sql.Row,org.gorpipe.gor.model.ColumnValueProvider,scala.Serializable
- Direct Known Subclasses:
LongGorSparkRow
public class GorSparkRow extends SparkRow
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GorSparkRow(org.apache.spark.sql.Row sparkrow)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit()java.lang.StringotherCols()java.lang.StringstringValue(int col)-
Methods inherited from class org.gorpipe.spark.SparkRow
addColumns, addSingleColumnToRow, apply, colAsDouble, colAsInt, colAsLong, colAsString, colsSlice, copy, doubleValue, get, getAllCols, getBoolean, getFloat, getInt, getLong, getString, intValue, isNullAt, length, longValue, numCols, otherColsLength, peekAtColumn, removeColumn, resize, rowWithSelectedColumns, sa, schema, selectedColumns, setColumn, slicedRow, toColString, toString, writeNorRowToStream, writeRow, writeRowToStream
-
Methods inherited from class org.gorpipe.gor.model.Row
advancedCompare, atPriorPos, atSamePos, colAsBytes, compareTo, copyRow, countColumns, equals, getSplitArray, joinedWithSlice, joinedWithSliceAndAddedColumn, otherColsSlice, rowWithAddedColumn, rowWithAddedColumns, rowWithAddedColumns, setColumns
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.spark.sql.Row
anyNull, equals, fieldIndex, getAs, getAs, getByte, getDate, getDecimal, getDouble, getInstant, getJavaMap, getList, getLocalDate, getMap, getSeq, getShort, getStruct, getTimestamp, getValuesMap, hashCode, json, jsonValue, mkString, mkString, mkString, prettyJson, size, toSeq
-
-
-
-
Method Detail
-
stringValue
public java.lang.String stringValue(int col)
- Specified by:
stringValuein interfaceorg.gorpipe.gor.model.ColumnValueProvider- Overrides:
stringValuein classSparkRow
-
-