public class KustoResultSetTable extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
KustoResultSetTable(com.fasterxml.jackson.databind.JsonNode jsonTable) |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeFirst() |
int |
count() |
int |
findColumn(String columnName) |
boolean |
first() |
Array |
getArray(int columnIndex) |
Array |
getArray(String columnName) |
InputStream |
getAsciiStream(String columnName) |
BigDecimal |
getBigDecimal(int columnIndex) |
BigDecimal |
getBigDecimal(String columnName) |
InputStream |
getBinaryStream(int columnIndex) |
InputStream |
getBinaryStream(String columnName) |
boolean |
getBoolean(int columnIndex) |
boolean |
getBoolean(String columnName) |
Boolean |
getBooleanObject(int columnIndex) |
Boolean |
getBooleanObject(String columnName) |
byte |
getByte(int columnIndex) |
byte |
getByte(String columnName) |
byte[] |
getBytes(int columnIndex) |
byte[] |
getBytes(String columnName) |
Reader |
getCharacterStream(int columnIndex) |
Reader |
getCharacterStream(String columnName) |
KustoResultColumn[] |
getColumns() |
List<Object> |
getCurrentRow() |
List<List<Object>> |
getData() |
Date |
getDate(int columnIndex) |
Date |
getDate(int columnIndex,
Calendar calendar)
This will cut the date up to yyyy-MM-dd'T'HH:mm:ss.SSS
|
Date |
getDate(String columnName) |
Date |
getDate(String columnName,
Calendar calendar) |
double |
getDouble(int columnIndex) |
double |
getDouble(String columnName) |
Double |
getDoubleObject(int columnIndex) |
Double |
getDoubleObject(String columnName) |
float |
getFloat(int columnIndex) |
float |
getFloat(String columnName) |
Float |
getFloatObject(int columnIndex) |
Float |
getFloatObject(String columnName) |
int |
getInt(int columnIndex) |
int |
getInt(String columnName) |
Integer |
getIntegerObject(int columnIndex) |
Integer |
getIntegerObject(String columnName) |
com.fasterxml.jackson.databind.JsonNode |
getJSONObject(int columnIndex) |
com.fasterxml.jackson.databind.JsonNode |
getJSONObject(String colName) |
LocalDateTime |
getKustoDateTime(int columnIndex) |
LocalDateTime |
getKustoDateTime(String columnName) |
LocalTime |
getLocalTime(int columnIndex) |
LocalTime |
getLocalTime(String columnName) |
long |
getLong(int columnIndex) |
long |
getLong(String columnName) |
Long |
getLongObject(int columnIndex) |
Long |
getLongObject(String columnName) |
Object |
getObject(int columnIndex) |
Object |
getObject(String columnName) |
short |
getShort(int columnIndex) |
short |
getShort(String columnName) |
Short |
getShortObject(int columnIndex) |
Short |
getShortObject(String columnName) |
String |
getString(int columnIndex) |
String |
getString(String columnName) |
String |
getTableId() |
WellKnownDataSet |
getTableKind() |
String |
getTableName() |
Time |
getTime(int columnIndex) |
Time |
getTime(int columnIndex,
Calendar calendar) |
Time |
getTime(String columnName) |
Time |
getTime(String columnName,
Calendar calendar) |
Timestamp |
getTimestamp(int columnIndex) |
Timestamp |
getTimestamp(int columnIndex,
Calendar calendar) |
Timestamp |
getTimestamp(String columnName) |
Timestamp |
getTimestamp(String columnName,
Calendar calendar) |
URL |
getURL(int columnIndex) |
URL |
getURL(String columnName) |
UUID |
getUUID(int columnIndex) |
UUID |
getUUID(String columnName) |
boolean |
hasNext() |
boolean |
isAfterLast() |
boolean |
isBeforeFirst() |
boolean |
isLast() |
boolean |
isNull(int columnIndex) |
boolean |
last() |
boolean |
next() |
boolean |
relative(int columnIndex) |
void |
setTableName(String tableName) |
protected KustoResultSetTable(com.fasterxml.jackson.databind.JsonNode jsonTable)
throws KustoServiceQueryError,
com.fasterxml.jackson.core.JsonProcessingException,
JsonPropertyMissingException
KustoServiceQueryErrorcom.fasterxml.jackson.core.JsonProcessingExceptionJsonPropertyMissingExceptionpublic String getTableName()
public void setTableName(String tableName)
public String getTableId()
public WellKnownDataSet getTableKind()
public KustoResultColumn[] getColumns()
public boolean next()
public boolean hasNext()
public String getString(int columnIndex)
public boolean getBoolean(int columnIndex)
public Boolean getBooleanObject(int columnIndex)
public byte getByte(int columnIndex)
public short getShort(int columnIndex)
public Short getShortObject(int columnIndex)
public int getInt(int columnIndex)
public Integer getIntegerObject(int columnIndex)
public long getLong(int columnIndex)
public Long getLongObject(int columnIndex)
public float getFloat(int columnIndex)
public Float getFloatObject(int columnIndex)
public double getDouble(int columnIndex)
public Double getDoubleObject(int columnIndex)
public byte[] getBytes(int columnIndex)
public Date getDate(int columnIndex) throws SQLException
SQLExceptionpublic Time getTime(int columnIndex)
public Timestamp getTimestamp(int columnIndex) throws SQLException
SQLExceptionpublic InputStream getBinaryStream(int columnIndex) throws SQLFeatureNotSupportedException
SQLFeatureNotSupportedExceptionpublic boolean getBoolean(String columnName)
public byte getByte(String columnName)
public short getShort(String columnName)
public int getInt(String columnName)
public long getLong(String columnName)
public float getFloat(String columnName)
public double getDouble(String columnName)
public byte[] getBytes(String columnName)
public Date getDate(String columnName) throws SQLException
SQLExceptionpublic Time getTime(String columnName) throws SQLException
SQLExceptionpublic Timestamp getTimestamp(String columnName) throws SQLException
SQLExceptionpublic InputStream getAsciiStream(String columnName)
public InputStream getBinaryStream(String columnName) throws SQLFeatureNotSupportedException
SQLFeatureNotSupportedExceptionpublic Object getObject(int columnIndex)
public com.fasterxml.jackson.databind.JsonNode getJSONObject(String colName)
public com.fasterxml.jackson.databind.JsonNode getJSONObject(int columnIndex)
public UUID getUUID(int columnIndex)
public int findColumn(String columnName)
public Reader getCharacterStream(int columnIndex)
public BigDecimal getBigDecimal(int columnIndex)
public BigDecimal getBigDecimal(String columnName)
public boolean isBeforeFirst()
public boolean isAfterLast()
public boolean isLast()
public void beforeFirst()
public boolean first()
public boolean last()
public boolean relative(int columnIndex)
public Array getArray(int columnIndex)
public LocalDateTime getKustoDateTime(int columnIndex)
public LocalDateTime getKustoDateTime(String columnName)
public Date getDate(int columnIndex, Calendar calendar) throws SQLException
columnIndex - Column index that contains the datecalendar - Calendar container appropriate timezoneSQLException - throws SQLException if date can't be parsedpublic Date getDate(String columnName, Calendar calendar) throws SQLException
SQLExceptionpublic Time getTime(int columnIndex, Calendar calendar) throws SQLException
SQLExceptionpublic Time getTime(String columnName, Calendar calendar) throws SQLException
SQLExceptionpublic LocalTime getLocalTime(int columnIndex)
public Timestamp getTimestamp(int columnIndex, Calendar calendar) throws SQLException
SQLExceptionpublic Timestamp getTimestamp(String columnName, Calendar calendar) throws SQLException
SQLExceptionpublic URL getURL(int columnIndex) throws SQLException
SQLExceptionpublic URL getURL(String columnName) throws SQLException
SQLExceptionpublic int count()
public boolean isNull(int columnIndex)
Copyright © 2023. All rights reserved.