| Modifier and Type | Interface and Description |
|---|---|
static class |
RowRecord.ColumnKind
Distinguishes an atomic value, a content structure such as a document or other node, and a null value.
|
| Modifier and Type | Method and 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(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(String columnName)
Gets the value of a column with an xs:byte schema data type as a Java byte primitive value.
|
<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(String columnName,
T contentHandle)
Gets the content of a column with a document or other content node value.
|
<T> T |
getContentAs(PlanExprCol col,
Class<T> as)
Gets the content of a column with a document or other content node value.
|
<T> T |
getContentAs(String columnName,
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(String columnName)
Identifies the format where a column has a document or other content node value in the row instead of an atomic value.
|
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.
|
String |
getContentMimetype(String columnName)
Identifies the format where a column has a document or other content node value in the row instead of an atomic value.
|
String |
getDatatype(PlanExprCol col)
Identifies the server data type for a column.
|
String |
getDatatype(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(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(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(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(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(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(String columnName)
Gets the value of a column with an xs:short schema data type as a Java short primitive value.
|
String |
getString(PlanExprCol col)
Gets the value of a column with an xs:string schema data type as a Java String literal value.
|
String |
getString(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,
Class<T> as)
Gets the value of a column with an atomic schema data type.
|
<T extends XsAnyAtomicTypeVal> |
getValueAs(String columnName,
Class<T> as)
Gets the value of a column with an atomic schema data type.
|
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesRowRecord.ColumnKind getKind(String columnName)
Identifies whether the value of a column is an atomic value, a document or other content structure, or a null.
columnName - the name of the columnRowRecord.ColumnKind getKind(PlanExprCol col)
Identifies whether the value of a column is an atomic value, a document or other content structure, or a null.
col - the column identifierString getDatatype(String columnName)
Identifies the server data type for a column. A column may have different data types in different rows.
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 columnString getDatatype(PlanExprCol col)
Identifies the server data type for a column.
col - the column identifierboolean getBoolean(String columnName)
Gets the value of a column with an xs:boolean schema data type as a Java boolean primitive value.
columnName - the name of the columnboolean getBoolean(PlanExprCol col)
Gets the value of a column with an xs:boolean schema data type as a Java boolean primitive value.
col - the column identifierbyte getByte(String columnName)
Gets the value of a column with an xs:byte schema data type as a Java byte primitive value.
columnName - the name of the columnbyte getByte(PlanExprCol col)
Gets the value of a column with an xs:byte schema data type as a Java byte primitive value.
col - the column identifierdouble getDouble(String columnName)
Gets the value of a column with an xs:double schema data type as a Java double primitive value.
columnName - the name of the columndouble getDouble(PlanExprCol col)
Gets the value of a column with an xs:double schema data type as a Java double primitive value.
col - the column identifierfloat getFloat(String columnName)
Gets the value of a column with an xs:float schema data type as a Java float primitive value.
columnName - the name of the columnfloat getFloat(PlanExprCol col)
Gets the value of a column with an xs:float schema data type as a Java float primitive value.
col - the column identifierint getInt(String columnName)
Gets the value of a column with an xs:int schema data type as a Java int primitive value.
columnName - the name of the columnint getInt(PlanExprCol col)
Gets the value of a column with an xs:int schema data type as a Java int primitive value.
col - the column identifierlong getLong(String columnName)
Gets the value of a column with an xs:long schema data type as a Java long primitive value.
columnName - the name of the columnlong getLong(PlanExprCol col)
Gets the value of a column with an xs:long schema data type as a Java long primitive value.
col - the column identifiershort getShort(String columnName)
Gets the value of a column with an xs:short schema data type as a Java short primitive value.
columnName - the name of the columnshort getShort(PlanExprCol col)
Gets the value of a column with an xs:short schema data type as a Java short primitive value.
col - the column identifierString getString(String columnName)
Gets the value of a column with an xs:string schema data type as a Java String literal value.
columnName - the name of the columnString getString(PlanExprCol col)
Gets the value of a column with an xs:string schema data type as a Java String literal value.
col - the column identifier<T extends XsAnyAtomicTypeVal> T getValueAs(String columnName, Class<T> as)
Gets the value of a column with an atomic schema data type.
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, Class<T> as)
Gets the value of a column with an atomic schema data type.
T - the type of the object for the valuecol - the column identifieras - the value class for the schema data type of the columnFormat getContentFormat(String columnName)
Identifies the format where a column has a document or other content node value in the row instead of an atomic value.
columnName - the name of the columnFormat 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.
col - the column identifierString getContentMimetype(String columnName)
Identifies the format where a column has a document or other content node value in the row instead of an atomic value.
columnName - the name of the columnString 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.
col - the column identifier<T extends AbstractReadHandle> T getContent(String columnName, T contentHandle)
Gets the content of a column with a document or other content node value.
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)
Gets the content of a column with a document or other content node value.
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(String columnName, Class<T> as)
Gets the content of a column with a document or other content node value.
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, Class<T> as)
Gets the content of a column with a document or other content node value.
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-2017 MarkLogic Corporation.