java.util.Map<java.lang.String,java.lang.Object>public interface RowRecord
extends java.util.Map<java.lang.String,java.lang.Object>
| Modifier and Type | Interface | Description |
|---|---|---|
static class |
RowRecord.ColumnKind |
Distinguishes an atomic value, an array or object container,
content such as a document or other node, and a null value.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
getBoolean(PlanExprCol col) |
Gets the value of a column with an xs:boolean schema data type
as a Java boolean primitive value.
|
boolean |
getBoolean(java.lang.String columnName) |
Gets the value of a column with an xs:boolean schema data type
as a Java boolean primitive value.
|
byte |
getByte(PlanExprCol col) |
Gets the value of a column with an xs:byte schema data type
as a Java byte primitive value.
|
byte |
getByte(java.lang.String columnName) |
Gets the value of a column with an xs:byte schema data type
as a Java byte primitive value.
|
com.fasterxml.jackson.databind.JsonNode |
getContainer(PlanExprCol col) |
|
<T extends JSONReadHandle> |
getContainer(PlanExprCol col,
T containerHandle) |
|
com.fasterxml.jackson.databind.JsonNode |
getContainer(java.lang.String columnName) |
|
<T extends JSONReadHandle> |
getContainer(java.lang.String columnName,
T containerHandle) |
|
<T> T |
getContainerAs(PlanExprCol col,
java.lang.Class<T> as) |
|
<T> T |
getContainerAs(java.lang.String columnName,
java.lang.Class<T> as) |
|
<T extends AbstractReadHandle> |
getContent(PlanExprCol col,
T contentHandle) |
Gets the content of a column with a document or other
content node value.
|
<T extends AbstractReadHandle> |
getContent(java.lang.String columnName,
T contentHandle) |
Gets the content of a column with a document or other
content node value.
|
<T> T |
getContentAs(PlanExprCol col,
java.lang.Class<T> as) |
Gets the content of a column with a document or other
content node value.
|
<T> T |
getContentAs(java.lang.String columnName,
java.lang.Class<T> as) |
Gets the content of a column with a document or other
content node value.
|
Format |
getContentFormat(PlanExprCol col) |
Identifies the format where a column has a document or
other content node value in the row instead of an atomic value.
|
Format |
getContentFormat(java.lang.String columnName) |
Identifies the format where a column has a document or
other content node value in the row instead of an atomic value.
|
java.lang.String |
getContentMimetype(PlanExprCol col) |
Identifies the format where a column has a document or
other content node value in the row instead of an atomic value.
|
java.lang.String |
getContentMimetype(java.lang.String columnName) |
Identifies the format where a column has a document or
other content node value in the row instead of an atomic value.
|
java.lang.String |
getDatatype(PlanExprCol col) |
Identifies the server data type for a column.
|
java.lang.String |
getDatatype(java.lang.String columnName) |
Identifies the server data type for a column.
|
double |
getDouble(PlanExprCol col) |
Gets the value of a column with an xs:double schema data type
as a Java double primitive value.
|
double |
getDouble(java.lang.String columnName) |
Gets the value of a column with an xs:double schema data type
as a Java double primitive value.
|
float |
getFloat(PlanExprCol col) |
Gets the value of a column with an xs:float schema data type
as a Java float primitive value.
|
float |
getFloat(java.lang.String columnName) |
Gets the value of a column with an xs:float schema data type
as a Java float primitive value.
|
int |
getInt(PlanExprCol col) |
Gets the value of a column with an xs:int schema data type
as a Java int primitive value.
|
int |
getInt(java.lang.String columnName) |
Gets the value of a column with an xs:int schema data type
as a Java int primitive value.
|
RowRecord.ColumnKind |
getKind(PlanExprCol col) |
Identifies whether the value of a column is an atomic value,
a document or other content structure, or a null.
|
RowRecord.ColumnKind |
getKind(java.lang.String columnName) |
Identifies whether the value of a column is an atomic value,
a document or other content structure, or a null.
|
long |
getLong(PlanExprCol col) |
Gets the value of a column with an xs:long schema data type
as a Java long primitive value.
|
long |
getLong(java.lang.String columnName) |
Gets the value of a column with an xs:long schema data type
as a Java long primitive value.
|
short |
getShort(PlanExprCol col) |
Gets the value of a column with an xs:short schema data type
as a Java short primitive value.
|
short |
getShort(java.lang.String columnName) |
Gets the value of a column with an xs:short schema data type
as a Java short primitive value.
|
java.lang.String |
getString(PlanExprCol col) |
Gets the value of a column with an xs:string schema data type
as a Java String literal value.
|
java.lang.String |
getString(java.lang.String columnName) |
Gets the value of a column with an xs:string schema data type
as a Java String literal value.
|
<T extends XsAnyAtomicTypeVal> |
getValueAs(PlanExprCol col,
java.lang.Class<T> as) |
Gets the value of a column with an atomic schema data type.
|
<T extends XsAnyAtomicTypeVal> |
getValueAs(java.lang.String columnName,
java.lang.Class<T> as) |
Gets the value of a column with an atomic schema data type.
|
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entry, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, of, of, of, of, of, of, of, of, of, of, of, ofEntries, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesRowRecord.ColumnKind getKind(java.lang.String columnName)
columnName - the name of the columnRowRecord.ColumnKind getKind(PlanExprCol col)
col - the column identifierjava.lang.String getDatatype(java.lang.String columnName)
For atomic values, the string is the lexical form of a QName with the conventional prefix for the type namespace, a separating colon, and the type local name as in xs:int or xs:dateTime.
For node values, the string has the node type as in array, document, element, or object.
columnName - the name of the columnjava.lang.String getDatatype(PlanExprCol col)
col - the column identifierboolean getBoolean(java.lang.String columnName)
columnName - the name of the columnboolean getBoolean(PlanExprCol col)
col - the column identifierbyte getByte(java.lang.String columnName)
columnName - the name of the columnbyte getByte(PlanExprCol col)
col - the column identifierdouble getDouble(java.lang.String columnName)
columnName - the name of the columndouble getDouble(PlanExprCol col)
col - the column identifierfloat getFloat(java.lang.String columnName)
columnName - the name of the columnfloat getFloat(PlanExprCol col)
col - the column identifierint getInt(java.lang.String columnName)
columnName - the name of the columnint getInt(PlanExprCol col)
col - the column identifierlong getLong(java.lang.String columnName)
columnName - the name of the columnlong getLong(PlanExprCol col)
col - the column identifiershort getShort(java.lang.String columnName)
columnName - the name of the columnshort getShort(PlanExprCol col)
col - the column identifierjava.lang.String getString(java.lang.String columnName)
columnName - the name of the columnjava.lang.String getString(PlanExprCol col)
col - the column identifier<T extends XsAnyAtomicTypeVal> T getValueAs(java.lang.String columnName, java.lang.Class<T> as)
The value class must have the same schema data type as the value of the column in the row.
T - the type of the object for the valuecolumnName - the name of the columnas - the value class for the schema data type of the column<T extends XsAnyAtomicTypeVal> T getValueAs(PlanExprCol col, java.lang.Class<T> as)
T - the type of the object for the valuecol - the column identifieras - the value class for the schema data type of the columncom.fasterxml.jackson.databind.JsonNode getContainer(java.lang.String columnName)
com.fasterxml.jackson.databind.JsonNode getContainer(PlanExprCol col)
<T extends JSONReadHandle> T getContainer(java.lang.String columnName, T containerHandle)
<T extends JSONReadHandle> T getContainer(PlanExprCol col, T containerHandle)
<T> T getContainerAs(java.lang.String columnName,
java.lang.Class<T> as)
<T> T getContainerAs(PlanExprCol col, java.lang.Class<T> as)
Format getContentFormat(java.lang.String columnName)
columnName - the name of the columnFormat getContentFormat(PlanExprCol col)
col - the column identifierjava.lang.String getContentMimetype(java.lang.String columnName)
columnName - the name of the columnjava.lang.String getContentMimetype(PlanExprCol col)
col - the column identifier<T extends AbstractReadHandle> T getContent(java.lang.String columnName, T contentHandle)
The handle must support IO for content with the format and mimetype. For instance, an XML DOM handle cannot be used to read a JSON document.
T - the type of the handle for reading the contentcolumnName - the name of the columncontentHandle - a handle for reading the content of the column value<T extends AbstractReadHandle> T getContent(PlanExprCol col, T contentHandle)
T - the type of the handle for reading the contentcol - the column identifiercontentHandle - a handle for reading the content of the column value<T> T getContentAs(java.lang.String columnName,
java.lang.Class<T> as)
The IO class must have been registered before creating the database client.
By default, the provided handles that implement
ContentHandle are registered.
T - the type of the IO object for the contentcolumnName - the name of the columnas - the IO class for reading the content of the column value<T> T getContentAs(PlanExprCol col, java.lang.Class<T> as)
T - the type of the IO object for the contentcol - the column identifieras - the IO class for reading the content of the column valueCopyright © 2013-2021 MarkLogic Corporation.