public class Row extends Object implements Serializable, Cloneable
DataFrame.DataFram,
Serialized Form| Constructor and Description |
|---|
Row(Object[] values)
Creates a
Row based on the values in the given array. |
| Modifier and Type | Method and Description |
|---|---|
Row |
clone()
Creates a clone of this
Row object. |
static Row |
create(Object... values)
Creates a
Row based on the given values. |
boolean |
equals(Object other)
Verifies the equality of two
Row objects. |
Object |
get(int index)
Retrieves the value of column in the
Row at the given index. |
byte[] |
getBinary(int index)
Retrieves the value of the column at the given index as an array of byte.
|
boolean |
getBoolean(int index)
Retrieves the value of the column at the given index as a boolean value.
|
byte |
getByte(int index)
Retrieves the value of the column at the given index as a byte value.
|
Date |
getDate(int index)
Retrieves the value of the column at the given index as a Date value.
|
BigDecimal |
getDecimal(int index)
Retrieves the value of the column at the given index as a BigDecimal value.
|
double |
getDouble(int index)
Retrieves the value of the column at the given index as a double value.
|
float |
getFloat(int index)
Retrieves the value of the column at the given index as a float value.
|
Geography |
getGeography(int index)
Retrieves the value of the column at the given index as a Geography value.
|
int |
getInt(int index)
Retrieves the value of the column at the given index as a int value.
|
List<Variant> |
getListOfVariant(int index)
Retrieves the value of the column at the given index as a list of Variant.
|
long |
getLong(int index)
Retrieves the value of the column at the given index as a long value.
|
Map<String,Variant> |
getMapOfVariant(int index)
Retrieves the value of the column at the given index as a map of Variant
|
short |
getShort(int index)
Retrieves the value of the column at the given index as a short value.
|
String |
getString(int index)
Retrieves the value of the column at the given index as a String value.
|
Time |
getTime(int index)
Retrieves the value of the column at the given index as a Time value.
|
Timestamp |
getTimestamp(int index)
Retrieves the value of the column at the given index as a Timestamp value.
|
Variant |
getVariant(int index)
Retrieves the value of the column at the given index as a Variant value.
|
int |
hashCode()
Calculates the hash code of this Row object
|
boolean |
isNullAt(int index)
Verifies if the value of the column at the given index is null.
|
int |
size()
Counts the number of column in this
Row. |
List<Object> |
toList()
Converts this
Row to a List of Object. |
String |
toString()
Generates a string value to represent the content of this row.
|
public Row(Object[] values)
Row based on the values in the given array.values - Row elementspublic List<Object> toList()
Row to a List of Object.List contains Row elements.public int size()
Row.Rowpublic Row clone()
Row object.public boolean equals(Object other)
Row objects.public int hashCode()
public Object get(int index)
Row at the given index.index - The index of the target columnpublic boolean isNullAt(int index)
index - The index of target columnpublic boolean getBoolean(int index)
index - The index of target columnpublic byte getByte(int index)
index - The index of target columnpublic short getShort(int index)
index - The index of target columnpublic int getInt(int index)
index - The index of target columnpublic long getLong(int index)
index - The index of target columnpublic float getFloat(int index)
index - The index of target columnpublic double getDouble(int index)
index - The index of target columnpublic String getString(int index)
index - The index of target columnpublic byte[] getBinary(int index)
index - The index of target columnpublic Date getDate(int index)
index - The index of target columnpublic Time getTime(int index)
index - The index of target columnpublic Timestamp getTimestamp(int index)
index - The index of target columnpublic BigDecimal getDecimal(int index)
index - The index of target columnpublic Variant getVariant(int index)
index - The index of target columnpublic Geography getGeography(int index)
index - The index of target columnpublic List<Variant> getListOfVariant(int index)
index - The index of target columnpublic Map<String,Variant> getMapOfVariant(int index)
index - The index of target columnpublic String toString()
© 2023 Snowflake Inc. All Rights Reserved