Uses of Class
com.datastax.driver.core.CodecRegistry
-
Packages that use CodecRegistry Package Description com.datastax.driver.core The main package for the Java Driver for Cassandra.com.datastax.driver.core.querybuilder A CQL3 query builder.com.datastax.driver.core.schemabuilder A CQL3 schema builder. -
-
Uses of CodecRegistry in com.datastax.driver.core
Fields in com.datastax.driver.core declared as CodecRegistry Modifier and Type Field Description static CodecRegistryCodecRegistry. DEFAULT_INSTANCEThe defaultCodecRegistryinstance.Methods in com.datastax.driver.core that return CodecRegistry Modifier and Type Method Description CodecRegistryConfiguration. getCodecRegistry()Returns theCodecRegistryinstance for this configuration.CodecRegistryDefaultPreparedStatement. getCodecRegistry()CodecRegistryPreparedStatement. getCodecRegistry()Return theCodecRegistryinstance associated with this prepared statement.protected CodecRegistryTupleValue. getCodecRegistry()protected CodecRegistryUDTValue. getCodecRegistry()CodecRegistryCodecRegistry. register(TypeCodec<?> newCodec)Register the given codec with this registry.CodecRegistryCodecRegistry. register(TypeCodec<?>... codecs)Register the given codecs with this registry.CodecRegistryCodecRegistry. register(Iterable<? extends TypeCodec<?>> codecs)Register the given codecs with this registry.Methods in com.datastax.driver.core with parameters of type CodecRegistry Modifier and Type Method Description abstract Map<String,ByteBuffer>RegularStatement. getNamedValues(ProtocolVersion protocolVersion, CodecRegistry codecRegistry)The named values to use for this statement.Map<String,ByteBuffer>SimpleStatement. getNamedValues(ProtocolVersion protocolVersion, CodecRegistry codecRegistry)abstract StringRegularStatement. getQueryString(CodecRegistry codecRegistry)Returns the query string for this statement.StringSimpleStatement. getQueryString(CodecRegistry codecRegistry)ByteBufferBatchStatement. getRoutingKey(ProtocolVersion protocolVersion, CodecRegistry codecRegistry)ByteBufferBoundStatement. getRoutingKey(ProtocolVersion protocolVersion, CodecRegistry codecRegistry)The routing key for this bound query.ByteBufferSimpleStatement. getRoutingKey(ProtocolVersion protocolVersion, CodecRegistry codecRegistry)Returns the routing key for the query.abstract ByteBufferStatement. getRoutingKey(ProtocolVersion protocolVersion, CodecRegistry codecRegistry)Returns the routing key (in binary raw form) to use for token aware routing of this query.ByteBufferStatementWrapper. getRoutingKey(ProtocolVersion protocolVersion, CodecRegistry codecRegistry)StatementBatchStatement. getRoutingStatement(ProtocolVersion protocolVersion, CodecRegistry codecRegistry)Returns the first statement in this batch that provides a routing key for the given protocol version and codec registry.abstract ByteBuffer[]RegularStatement. getValues(ProtocolVersion protocolVersion, CodecRegistry codecRegistry)The positional values to use for this statement.ByteBuffer[]SimpleStatement. getValues(ProtocolVersion protocolVersion, CodecRegistry codecRegistry)abstract booleanRegularStatement. hasValues(CodecRegistry codecRegistry)Whether or not this statement has values, that is ifgetValueswill returnnullor not.booleanSimpleStatement. hasValues(CodecRegistry codecRegistry)static TupleTypeTupleType. of(ProtocolVersion protocolVersion, CodecRegistry codecRegistry, DataType... types)Creates a "disconnected" tuple type (you should prefercluster.getMetadata().newTupleType(...)whenever possible).intBatchStatement. requestSizeInBytes(ProtocolVersion protocolVersion, CodecRegistry codecRegistry)intBoundStatement. requestSizeInBytes(ProtocolVersion protocolVersion, CodecRegistry codecRegistry)Returns the number of bytes required to encode this statement.intRegularStatement. requestSizeInBytes(ProtocolVersion protocolVersion, CodecRegistry codecRegistry)intStatement. requestSizeInBytes(ProtocolVersion protocolVersion, CodecRegistry codecRegistry)Returns the number of bytes required to encode this statement.intStatementWrapper. requestSizeInBytes(ProtocolVersion protocolVersion, CodecRegistry codecRegistry)StatementStatement. setPagingState(PagingState pagingState, CodecRegistry codecRegistry)Sets the paging state.StatementStatementWrapper. setPagingState(PagingState pagingState, CodecRegistry codecRegistry)Cluster.BuilderCluster.Builder. withCodecRegistry(CodecRegistry codecRegistry)Configures theCodecRegistryinstance to use for the new cluster.Configuration.BuilderConfiguration.Builder. withCodecRegistry(CodecRegistry codecRegistry)Sets the codec registry for this cluster. -
Uses of CodecRegistry in com.datastax.driver.core.querybuilder
Methods in com.datastax.driver.core.querybuilder with parameters of type CodecRegistry Modifier and Type Method Description protected StringBuilderTruncate. buildQueryString(List<Object> variables, CodecRegistry codecRegistry)Map<String,ByteBuffer>BuiltStatement. getNamedValues(ProtocolVersion protocolVersion, CodecRegistry codecRegistry)ObjectBuiltStatement. getObject(int i, CodecRegistry codecRegistry)Returns theith value as the Java type matching its CQL type.StringBuiltStatement. getQueryString(CodecRegistry codecRegistry)ByteBufferBatch. getRoutingKey(ProtocolVersion protocolVersion, CodecRegistry codecRegistry)Returns the first non-null routing key of the statements in this batch or null otherwise.ByteBufferBuiltStatement. getRoutingKey(ProtocolVersion protocolVersion, CodecRegistry codecRegistry)ByteBuffer[]Batch. getValues(ProtocolVersion protocolVersion, CodecRegistry codecRegistry)ByteBuffer[]BuiltStatement. getValues(ProtocolVersion protocolVersion, CodecRegistry codecRegistry)booleanBuiltStatement. hasValues(CodecRegistry codecRegistry) -
Uses of CodecRegistry in com.datastax.driver.core.schemabuilder
Methods in com.datastax.driver.core.schemabuilder with parameters of type CodecRegistry Modifier and Type Method Description Map<String,ByteBuffer>SchemaStatement. getNamedValues(ProtocolVersion protocolVersion, CodecRegistry codecRegistry)StringSchemaStatement. getQueryString(CodecRegistry codecRegistry)ByteBufferSchemaStatement. getRoutingKey(ProtocolVersion protocolVersion, CodecRegistry codecRegistry)Returns the routing key (in binary raw form) to use for token aware routing of this query.ByteBuffer[]SchemaStatement. getValues(ProtocolVersion protocolVersion, CodecRegistry codecRegistry)booleanSchemaStatement. hasValues(CodecRegistry codecRegistry)
-