public class GeometryColumn extends BlobColumn
charset, columnLength, dataType, decimals, extTypeFormat, extTypeName| Modifier | Constructor and Description |
|---|---|
protected |
GeometryColumn(GeometryColumn prev) |
|
GeometryColumn(com.singlestore.jdbc.client.ReadableByteBuf buf,
int charset,
long length,
com.singlestore.jdbc.client.DataType dataType,
byte decimals,
int flags,
int[] stringPos,
String extTypeName,
String extTypeFormat)
Geometry metadata type decoder
|
| Modifier and Type | Method and Description |
|---|---|
Timestamp |
decodeTimestampBinary(com.singlestore.jdbc.client.ReadableByteBuf buf,
MutableInt length,
Calendar cal)
Return timestamp binary encoded value
|
Timestamp |
decodeTimestampText(com.singlestore.jdbc.client.ReadableByteBuf buf,
MutableInt length,
Calendar cal)
Return timestamp text encoded value
|
String |
defaultClassname(Configuration conf)
Returns default class name depending on server column datatype
|
int |
getColumnType(Configuration conf)
Returns default java.sql.Types depending on server column datatype
|
String |
getColumnTypeName(Configuration conf)
Returns server column datatype
|
Object |
getDefaultBinary(Configuration conf,
com.singlestore.jdbc.client.ReadableByteBuf buf,
MutableInt length)
Return default Object binary encoded
|
Object |
getDefaultText(Configuration conf,
com.singlestore.jdbc.client.ReadableByteBuf buf,
MutableInt length)
Return default Object text encoded
|
GeometryColumn |
useAliasAsName() |
decodeBooleanBinary, decodeBooleanText, decodeByteBinary, decodeByteText, decodeDateBinary, decodeDateText, decodeDoubleBinary, decodeDoubleText, decodeFloatBinary, decodeFloatText, decodeIntBinary, decodeIntText, decodeLongBinary, decodeLongText, decodeShortBinary, decodeShortText, decodeStringBinary, decodeStringText, decodeTimeBinary, decodeTimeText, getPrecisionequals, getCatalog, getColumnAlias, getColumnLength, getColumnName, getDecimals, getDisplaySize, getExtTypeFormat, getExtTypeName, getFlags, getSchema, getTable, getTableAlias, getType, hasDefault, hashCode, isAutoIncrement, isBinary, isPrimaryKey, isSignedclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcreate, decode, decodeStdgetCatalog, getColumnAlias, getColumnLength, getColumnName, getDecimals, getDisplaySize, getExtTypeFormat, getExtTypeName, getFlags, getSchema, getTable, getTableAlias, getType, hasDefault, isAutoIncrement, isBinary, isPrimaryKey, isSignedpublic GeometryColumn(com.singlestore.jdbc.client.ReadableByteBuf buf,
int charset,
long length,
com.singlestore.jdbc.client.DataType dataType,
byte decimals,
int flags,
int[] stringPos,
String extTypeName,
String extTypeFormat)
buf - buffercharset - charsetlength - maximum data lengthdataType - data typedecimals - decimal lengthflags - flagsstringPos - string offset position in bufferextTypeName - extended type nameextTypeFormat - extended type formatprotected GeometryColumn(GeometryColumn prev)
public GeometryColumn useAliasAsName()
useAliasAsName in interface com.singlestore.jdbc.client.ColumnDecoderuseAliasAsName in class BlobColumnpublic String defaultClassname(Configuration conf)
com.singlestore.jdbc.client.ColumnDecoderdefaultClassname in interface com.singlestore.jdbc.client.ColumnDecoderdefaultClassname in class BlobColumnconf - configurationpublic int getColumnType(Configuration conf)
com.singlestore.jdbc.client.ColumnDecodergetColumnType in interface com.singlestore.jdbc.client.ColumnDecodergetColumnType in class BlobColumnconf - configurationpublic String getColumnTypeName(Configuration conf)
com.singlestore.jdbc.client.ColumnDecodergetColumnTypeName in interface com.singlestore.jdbc.client.ColumnDecodergetColumnTypeName in class BlobColumnconf - configurationpublic Object getDefaultText(Configuration conf, com.singlestore.jdbc.client.ReadableByteBuf buf, MutableInt length) throws SQLDataException
com.singlestore.jdbc.client.ColumnDecodergetDefaultText in interface com.singlestore.jdbc.client.ColumnDecodergetDefaultText in class BlobColumnconf - configurationbuf - row bufferlength - data lengthSQLDataException - if any decoding error occurspublic Object getDefaultBinary(Configuration conf, com.singlestore.jdbc.client.ReadableByteBuf buf, MutableInt length) throws SQLDataException
com.singlestore.jdbc.client.ColumnDecodergetDefaultBinary in interface com.singlestore.jdbc.client.ColumnDecodergetDefaultBinary in class BlobColumnconf - configurationbuf - row bufferlength - data lengthSQLDataException - if any decoding error occurspublic Timestamp decodeTimestampText(com.singlestore.jdbc.client.ReadableByteBuf buf, MutableInt length, Calendar cal) throws SQLDataException
com.singlestore.jdbc.client.ColumnDecoderdecodeTimestampText in interface com.singlestore.jdbc.client.ColumnDecoderdecodeTimestampText in class BlobColumnbuf - row bufferlength - data lengthcal - calendarSQLDataException - if any decoding error occurspublic Timestamp decodeTimestampBinary(com.singlestore.jdbc.client.ReadableByteBuf buf, MutableInt length, Calendar cal) throws SQLDataException
com.singlestore.jdbc.client.ColumnDecoderdecodeTimestampBinary in interface com.singlestore.jdbc.client.ColumnDecoderdecodeTimestampBinary in class BlobColumnbuf - row bufferlength - data lengthcal - calendarSQLDataException - if any decoding error occursCopyright © 2025 SingleStore. All rights reserved.