Class JdbcBinaryTypeNamePutRequest
- java.lang.Object
-
- org.apache.ignite.internal.processors.odbc.ClientListenerRequestNoId
-
- org.apache.ignite.internal.processors.odbc.jdbc.JdbcRequest
-
- org.apache.ignite.internal.processors.odbc.jdbc.JdbcBinaryTypeNamePutRequest
-
- All Implemented Interfaces:
ClientListenerRequest,JdbcRawBinarylizable
public class JdbcBinaryTypeNamePutRequest extends JdbcRequest
JDBC put binary type name request.
-
-
Field Summary
-
Fields inherited from class org.apache.ignite.internal.processors.odbc.jdbc.JdbcRequest
BATCH_EXEC, BINARY_TYPE_GET, BINARY_TYPE_NAME_GET, BINARY_TYPE_NAME_PUT, BINARY_TYPE_PUT, CACHE_PARTITIONS, META_COLUMNS, META_INDEXES, META_PARAMS, META_PRIMARY_KEYS, META_SCHEMAS, META_TABLES, QRY_EXEC, QRY_META, TX_END, TX_SET_PARAMS
-
Fields inherited from interface org.apache.ignite.internal.processors.odbc.ClientListenerRequest
HANDSHAKE
-
-
Constructor Summary
Constructors Constructor Description JdbcBinaryTypeNamePutRequest(int typeId, byte platformId, String typeName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byteplatformId()Returns ID of platform.voidreadBinary(BinaryReaderExImpl reader, JdbcProtocolContext protoCtx)Reads fields from provided reader.StringtoString()inttypeId()Returns ID of binary type.StringtypeName()Returns type name.voidwriteBinary(BinaryWriterExImpl writer, JdbcProtocolContext protoCtx)Writes fields to provided writer.-
Methods inherited from class org.apache.ignite.internal.processors.odbc.jdbc.JdbcRequest
readRequest, readRequestId, readType, requestId, type
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.ignite.internal.processors.odbc.ClientListenerRequest
beforeStartupRequest
-
-
-
-
Constructor Detail
-
JdbcBinaryTypeNamePutRequest
public JdbcBinaryTypeNamePutRequest(int typeId, byte platformId, String typeName)- Parameters:
typeId- ID of binary type.platformId- ID of platform. SeeMarshallerPlatformIdsfor supported values.typeName- Name of the new binary type.
-
-
Method Detail
-
typeId
public int typeId()
Returns ID of binary type.- Returns:
- ID of binary type.
-
platformId
public byte platformId()
Returns ID of platform.- Returns:
- ID of platform.
-
typeName
public String typeName()
Returns type name.- Returns:
- Type name.
-
writeBinary
public void writeBinary(BinaryWriterExImpl writer, JdbcProtocolContext protoCtx) throws BinaryObjectException
Writes fields to provided writer.- Specified by:
writeBinaryin interfaceJdbcRawBinarylizable- Overrides:
writeBinaryin classJdbcRequest- Parameters:
writer- Binary object writer.protoCtx- JDBC protocol context.- Throws:
BinaryObjectException- In case of error.
-
readBinary
public void readBinary(BinaryReaderExImpl reader, JdbcProtocolContext protoCtx) throws BinaryObjectException
Reads fields from provided reader.- Specified by:
readBinaryin interfaceJdbcRawBinarylizable- Overrides:
readBinaryin classJdbcRequest- Parameters:
reader- Binary object reader.protoCtx- JDBC protocol context.- Throws:
BinaryObjectException- In case of error.
-
toString
public String toString()
- Overrides:
toStringin classJdbcRequest
-
-