Package com.snowflake.snowpark_java
Class Row
java.lang.Object
com.snowflake.snowpark_java.Row
One row handed back by
DataFrame.collect().
This is the type a handler written against Snowpark expects — rows[0].getString(0) — and it
is deliberately NOT Frostlake's own storage.Row, whose only accessor is getValue(int).
Values arrive from the engine already typed, so each getter coerces rather than parses: a NUMBER cell
is some Number whatever its declared width, and asking for it as an int, a long or a
BigDecimal all have to work.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RowSnowpark's factory spelling.booleanget(int index) byte[]getBinary(int index) booleangetBoolean(int index) bytegetByte(int index) getDate(int index) getDecimal(int index) doublegetDouble(int index) floatgetFloat(int index) intgetInt(int index) getList(int index) longgetLong(int index) Map<?, ?> getMap(int index) shortgetShort(int index) getString(int index) getStruct(int index) A nested row, for a value that is itself structured.getTime(int index) getTimestamp(int index) getVariant(int index) inthashCode()booleanisNullAt(int index) intsize()Object[]toArray()toString()
-
Constructor Details
-
Row
-
Row
-
-
Method Details
-
create
Snowpark's factory spelling. -
size
public int size() -
get
-
isNullAt
public boolean isNullAt(int index) -
toArray
-
getString
-
getBoolean
public boolean getBoolean(int index) -
getByte
public byte getByte(int index) -
getShort
public short getShort(int index) -
getInt
public int getInt(int index) -
getLong
public long getLong(int index) -
getFloat
public float getFloat(int index) -
getDouble
public double getDouble(int index) -
getDecimal
-
getDate
-
getTime
-
getTimestamp
-
getBinary
public byte[] getBinary(int index) -
getVariant
-
getStruct
A nested row, for a value that is itself structured. -
getList
-
getMap
-
toString
-
equals
-
hashCode
public int hashCode()
-