Package com.yandex.ydb.table.result
Interface ValueReader
-
- All Superinterfaces:
DictReader,ListReader,OptionalReader,PrimitiveReader,StructReader,TupleReader,VariantReader
public interface ValueReader extends PrimitiveReader, OptionalReader, TupleReader, ListReader, DictReader, StructReader, VariantReader
- Author:
- Sergey Polovko
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TypegetType()Returns value type for current cell.Value<?>getValue()Returns value object for current cell.voidtoString(StringBuilder sb)Writes string representation of current value into given string builder.-
Methods inherited from interface com.yandex.ydb.table.result.DictReader
getDictItemsCount, getDictKey, getDictValue
-
Methods inherited from interface com.yandex.ydb.table.result.ListReader
getListItem, getListItemsCount
-
Methods inherited from interface com.yandex.ydb.table.result.OptionalReader
getOptionalItem, isOptionalItemPresent
-
Methods inherited from interface com.yandex.ydb.table.result.PrimitiveReader
getBool, getDate, getDatetime, getDecimal, getFloat32, getFloat64, getInt16, getInt32, getInt64, getInt8, getInterval, getJson, getJsonDocument, getString, getString, getTimestamp, getTzDate, getTzDatetime, getTzTimestamp, getUint16, getUint32, getUint64, getUint8, getUtf8, getUuid, getYson
-
Methods inherited from interface com.yandex.ydb.table.result.StructReader
getStructMember, getStructMember, getStructMemberName, getStructMembersCount
-
Methods inherited from interface com.yandex.ydb.table.result.TupleReader
getTupleElement, getTupleElementsCount
-
Methods inherited from interface com.yandex.ydb.table.result.VariantReader
getVariantItem, getVariantTypeIndex
-
-
-
-
Method Detail
-
toString
void toString(StringBuilder sb)
Writes string representation of current value into given string builder.- Parameters:
sb- string builder
-
getValue
Value<?> getValue()
Returns value object for current cell. Please note that this method will create value object for each method call.- Returns:
- value
-
getType
Type getType()
Returns value type for current cell. Please note that this method will create value type for each method call.- Returns:
- type
-
-