Package org.gorpipe.spark
Class NorSparkRow
- java.lang.Object
-
- org.gorpipe.gor.model.Row
-
- org.gorpipe.spark.GorSparkRowBase
-
- org.gorpipe.spark.SparkRow
-
- org.gorpipe.spark.NorSparkRow
-
- 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
public class NorSparkRow extends SparkRow
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NorSparkRow(org.apache.spark.sql.Row sparkrow)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringcolAsString(int colNum)intnumCols()voidsetColumn(int k, java.lang.String val)java.lang.StringstringValue(int col)-
Methods inherited from class org.gorpipe.spark.SparkRow
addColumns, addSingleColumnToRow, apply, colAsDouble, colAsInt, colAsLong, colsSlice, copy, doubleValue, get, getAllCols, getBoolean, getFloat, getInt, getLong, getString, init, intValue, isNullAt, length, longValue, otherCols, otherColsLength, peekAtColumn, removeColumn, resize, rowWithSelectedColumns, sa, schema, selectedColumns, 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
-
colAsString
public java.lang.String colAsString(int colNum)
- Overrides:
colAsStringin classSparkRow
-
stringValue
public java.lang.String stringValue(int col)
- Specified by:
stringValuein interfaceorg.gorpipe.gor.model.ColumnValueProvider- Overrides:
stringValuein classSparkRow
-
-