Uses of Enum Class
org.apache.cassandra.transport.ProtocolVersion
Packages that use ProtocolVersion
Package
Description
Contains pieces of the Java Driver that are needed to handle data types
in C* User-Defined-Functions/Aggregates.
-
Uses of ProtocolVersion in org.apache.cassandra.cql3
Methods in org.apache.cassandra.cql3 that return ProtocolVersionModifier and TypeMethodDescriptionabstract ProtocolVersionQueryOptions.getProtocolVersion()The protocol version for the query.Methods in org.apache.cassandra.cql3 with parameters of type ProtocolVersionModifier and TypeMethodDescriptionstatic QueryOptionsQueryOptions.create(ConsistencyLevel consistency, List<ByteBuffer> values, boolean skipMetadata, int pageSize, PagingState pagingState, ConsistencyLevel serialConsistency, ProtocolVersion version, String keyspace) static QueryOptionsQueryOptions.create(ConsistencyLevel consistency, List<ByteBuffer> values, boolean skipMetadata, int pageSize, PagingState pagingState, ConsistencyLevel serialConsistency, ProtocolVersion version, String keyspace, long timestamp, long nowInSeconds) ResultSet.Codec.decode(io.netty.buffer.ByteBuf body, ProtocolVersion version) voidResultSet.Codec.encode(ResultSet rs, io.netty.buffer.ByteBuf dest, ProtocolVersion version) intResultSet.Codec.encodedSize(ResultSet rs, ProtocolVersion version) static QueryOptionsQueryOptions.forProtocolVersion(ProtocolVersion protocolVersion) Constants.Value.get(ProtocolVersion version) Lists.Value.get(ProtocolVersion version) Maps.Value.get(ProtocolVersion version) Sets.Value.get(ProtocolVersion version) abstract ByteBufferTerm.Terminal.get(ProtocolVersion version) Tuples.InValue.get(ProtocolVersion version) Tuples.Value.get(ProtocolVersion version) UserTypes.Value.get(ProtocolVersion version) Vectors.Value.get(ProtocolVersion version) -
Uses of ProtocolVersion in org.apache.cassandra.cql3.functions
Methods in org.apache.cassandra.cql3.functions that return ProtocolVersionModifier and TypeMethodDescriptionArguments.getProtocolVersion()Returns the protocol versionFunctionArguments.getProtocolVersion()Methods in org.apache.cassandra.cql3.functions with parameters of type ProtocolVersionModifier and TypeMethodDescriptionUDFDataType.compose(ProtocolVersion protocolVersion, ByteBuffer buffer) Deserializes the specified oject.AggregateFunction.Aggregate.compute(ProtocolVersion protocolVersion) Computes and returns the aggregate current value.protected final ByteBufferJavaUDF.decompose(ProtocolVersion protocolVersion, byte value) protected final ByteBufferJavaUDF.decompose(ProtocolVersion protocolVersion, double value) protected final ByteBufferJavaUDF.decompose(ProtocolVersion protocolVersion, float value) protected final ByteBufferJavaUDF.decompose(ProtocolVersion protocolVersion, int value) protected final ByteBufferJavaUDF.decompose(ProtocolVersion protocolVersion, long value) protected final ByteBufferJavaUDF.decompose(ProtocolVersion protocolVersion, short value) protected final ByteBufferJavaUDF.decompose(ProtocolVersion protocolVersion, Object value) UDFDataType.decompose(ProtocolVersion protocolVersion, byte value) Serialized the specified byte.UDFDataType.decompose(ProtocolVersion protocolVersion, double value) Serialized the specified byte.UDFDataType.decompose(ProtocolVersion protocolVersion, float value) Serialized the specified byte.UDFDataType.decompose(ProtocolVersion protocolVersion, int value) Serialized the specified byte.UDFDataType.decompose(ProtocolVersion protocolVersion, long value) Serialized the specified byte.UDFDataType.decompose(ProtocolVersion protocolVersion, short value) Serialized the specified byte.UDFDataType.decompose(ProtocolVersion protocolVersion, Object value) Serialized the specified oject.protected ByteBufferUDFunction.decompose(ProtocolVersion protocolVersion, Object value) Used by UDF implementations (both Java code generated byJavaBasedUDFunction) to convert the Java object representation for the return value to the C* serialized representation.ArgumentDeserializer.deserialize(ProtocolVersion protocolVersion, ByteBuffer buffer) Deserializes the specified function argument.static FunctionArgumentsFunctionArguments.emptyInstance(ProtocolVersion version) Creates an emptyFunctionArguments.Function.newArguments(ProtocolVersion version) Creates some new input arguments for this function.NativeFunction.newArguments(ProtocolVersion version) ToJsonFct.newArguments(ProtocolVersion version) TokenFct.newArguments(ProtocolVersion version) UDAggregate.newArguments(ProtocolVersion version) UDFunction.newArguments(ProtocolVersion version) static FunctionArgumentsFunctionArguments.newInstanceForNativeFunction(ProtocolVersion version, List<AbstractType<?>> argTypes) Creates a newFunctionArgumentsfor a native function.static FunctionArgumentsFunctionArguments.newInstanceForUdf(ProtocolVersion version, List<UDFDataType> argTypes) Creates a newFunctionArgumentsfor the specified types.static FunctionArgumentsFunctionArguments.newNoopInstance(ProtocolVersion version, int numberOfArguments) Creates a newFunctionArgumentsthat does not deserialize the arguments.default ScalarFunctionScalarFunction.partialApplication(ProtocolVersion protocolVersion, List<ByteBuffer> partialArguments) Does a partial application of the function.Constructors in org.apache.cassandra.cql3.functions with parameters of type ProtocolVersionModifierConstructorDescriptionFunctionArguments(ProtocolVersion version, ArgumentDeserializer... deserializers) -
Uses of ProtocolVersion in org.apache.cassandra.cql3.functions.masking
Methods in org.apache.cassandra.cql3.functions.masking with parameters of type ProtocolVersionModifier and TypeMethodDescriptionColumnMask.masker(ProtocolVersion version) DefaultMaskingFunction.newArguments(ProtocolVersion version) HashMaskingFunction.newArguments(ProtocolVersion version) NullMaskingFunction.newArguments(ProtocolVersion version) PartialMaskingFunction.newArguments(ProtocolVersion version) ReplaceMaskingFunction.newArguments(ProtocolVersion version) -
Uses of ProtocolVersion in org.apache.cassandra.cql3.functions.types
Fields in org.apache.cassandra.cql3.functions.types declared as ProtocolVersionModifier and TypeFieldDescriptionprotected final ProtocolVersionAbstractGettableByIndexData.protocolVersionprotected final ProtocolVersionAbstractGettableByIndexData.protocolVersionprotected final ProtocolVersionAbstractGettableByIndexData.protocolVersionMethods in org.apache.cassandra.cql3.functions.types with parameters of type ProtocolVersionModifier and TypeMethodDescriptionTypeCodec.AbstractCollectionCodec.deserialize(ByteBuffer bytes, ProtocolVersion protocolVersion) TypeCodec.AbstractMapCodec.deserialize(ByteBuffer bytes, ProtocolVersion protocolVersion) TypeCodec.AbstractTupleCodec.deserialize(ByteBuffer bytes, ProtocolVersion protocolVersion) TypeCodec.AbstractUDTCodec.deserialize(ByteBuffer bytes, ProtocolVersion protocolVersion) abstract TTypeCodec.deserialize(ByteBuffer bytes, ProtocolVersion protocolVersion) Deserialize the givenByteBufferinstance according to the CQL type handled by this codec.TypeCodec.PrimitiveBooleanCodec.deserialize(ByteBuffer bytes, ProtocolVersion protocolVersion) TypeCodec.PrimitiveByteCodec.deserialize(ByteBuffer bytes, ProtocolVersion protocolVersion) TypeCodec.PrimitiveDoubleCodec.deserialize(ByteBuffer bytes, ProtocolVersion protocolVersion) TypeCodec.PrimitiveFloatCodec.deserialize(ByteBuffer bytes, ProtocolVersion protocolVersion) TypeCodec.PrimitiveIntCodec.deserialize(ByteBuffer bytes, ProtocolVersion protocolVersion) TypeCodec.PrimitiveLongCodec.deserialize(ByteBuffer bytes, ProtocolVersion protocolVersion) TypeCodec.PrimitiveShortCodec.deserialize(ByteBuffer bytes, ProtocolVersion protocolVersion) protected abstract TTypeCodec.AbstractTupleCodec.deserializeAndSetField(ByteBuffer input, T target, int index, ProtocolVersion protocolVersion) Deserialize an individual field and set it on an object, as part of deserializing the whole object from a CQL tuple (seeTypeCodec.AbstractTupleCodec.deserialize(ByteBuffer, ProtocolVersion)).protected abstract TTypeCodec.AbstractUDTCodec.deserializeAndSetField(ByteBuffer input, T target, String fieldName, ProtocolVersion protocolVersion) Deserialize an individual field and set it on an object, as part of deserializing the whole object from a CQL UDT (seeTypeCodec.AbstractUDTCodec.deserialize(ByteBuffer, ProtocolVersion)).abstract booleanTypeCodec.PrimitiveBooleanCodec.deserializeNoBoxing(ByteBuffer v, ProtocolVersion protocolVersion) abstract byteTypeCodec.PrimitiveByteCodec.deserializeNoBoxing(ByteBuffer v, ProtocolVersion protocolVersion) abstract doubleTypeCodec.PrimitiveDoubleCodec.deserializeNoBoxing(ByteBuffer v, ProtocolVersion protocolVersion) abstract floatTypeCodec.PrimitiveFloatCodec.deserializeNoBoxing(ByteBuffer v, ProtocolVersion protocolVersion) abstract intTypeCodec.PrimitiveIntCodec.deserializeNoBoxing(ByteBuffer v, ProtocolVersion protocolVersion) abstract longTypeCodec.PrimitiveLongCodec.deserializeNoBoxing(ByteBuffer v, ProtocolVersion protocolVersion) abstract shortTypeCodec.PrimitiveShortCodec.deserializeNoBoxing(ByteBuffer v, ProtocolVersion protocolVersion) static TupleTypeTupleType.of(ProtocolVersion protocolVersion, CodecRegistry codecRegistry, DataType... types) Creates a "disconnected" tuple type (you should preferMetadata#newTupleType(DataType...) cluster.getMetadata().newTupleType(...)whenever possible).static ByteBufferCodecUtils.pack(ByteBuffer[] buffers, int elements, ProtocolVersion version) Utility method that "packs" together a list ofByteBuffers containing serialized collection elements.static DataTypeDataTypeClassNameParser.parseOne(String className, ProtocolVersion protocolVersion, CodecRegistry codecRegistry) static ByteBufferCodecUtils.readValue(ByteBuffer input, ProtocolVersion version) Utility method that reads a value.TypeCodec.AbstractCollectionCodec.serialize(C value, ProtocolVersion protocolVersion) TypeCodec.AbstractMapCodec.serialize(Map<K, V> value, ProtocolVersion protocolVersion) TypeCodec.AbstractTupleCodec.serialize(T value, ProtocolVersion protocolVersion) TypeCodec.AbstractUDTCodec.serialize(T value, ProtocolVersion protocolVersion) TypeCodec.PrimitiveBooleanCodec.serialize(Boolean value, ProtocolVersion protocolVersion) TypeCodec.PrimitiveByteCodec.serialize(Byte value, ProtocolVersion protocolVersion) TypeCodec.PrimitiveDoubleCodec.serialize(Double value, ProtocolVersion protocolVersion) TypeCodec.PrimitiveFloatCodec.serialize(Float value, ProtocolVersion protocolVersion) TypeCodec.PrimitiveIntCodec.serialize(Integer value, ProtocolVersion protocolVersion) TypeCodec.PrimitiveLongCodec.serialize(Long value, ProtocolVersion protocolVersion) TypeCodec.PrimitiveShortCodec.serialize(Short value, ProtocolVersion protocolVersion) abstract ByteBufferTypeCodec.serialize(T value, ProtocolVersion protocolVersion) Serialize the given value according to the CQL type handled by this codec.protected abstract ByteBufferTypeCodec.AbstractTupleCodec.serializeField(T source, int index, ProtocolVersion protocolVersion) Serialize an individual field in an object, as part of serializing the whole object to a CQL tuple (seeTypeCodec.AbstractTupleCodec.serialize(Object, ProtocolVersion)).protected abstract ByteBufferTypeCodec.AbstractUDTCodec.serializeField(T source, String fieldName, ProtocolVersion protocolVersion) Serialize an individual field in an object, as part of serializing the whole object to a CQL UDT (seeTypeCodec.AbstractUDTCodec.serialize(Object, ProtocolVersion)).abstract ByteBufferTypeCodec.PrimitiveBooleanCodec.serializeNoBoxing(boolean v, ProtocolVersion protocolVersion) abstract ByteBufferTypeCodec.PrimitiveByteCodec.serializeNoBoxing(byte v, ProtocolVersion protocolVersion) abstract ByteBufferTypeCodec.PrimitiveDoubleCodec.serializeNoBoxing(double v, ProtocolVersion protocolVersion) abstract ByteBufferTypeCodec.PrimitiveFloatCodec.serializeNoBoxing(float v, ProtocolVersion protocolVersion) abstract ByteBufferTypeCodec.PrimitiveIntCodec.serializeNoBoxing(int v, ProtocolVersion protocolVersion) abstract ByteBufferTypeCodec.PrimitiveLongCodec.serializeNoBoxing(long v, ProtocolVersion protocolVersion) abstract ByteBufferTypeCodec.PrimitiveShortCodec.serializeNoBoxing(short v, ProtocolVersion protocolVersion) static voidCodecUtils.writeValue(ByteBuffer output, ByteBuffer value, ProtocolVersion version) Utility method that writes a value. -
Uses of ProtocolVersion in org.apache.cassandra.cql3.selection
Methods in org.apache.cassandra.cql3.selection that return ProtocolVersionMethods in org.apache.cassandra.cql3.selection with parameters of type ProtocolVersionModifier and TypeMethodDescriptionabstract ByteBufferSelector.getOutput(ProtocolVersion protocolVersion) Returns the selector output.SimpleSelector.getOutput(ProtocolVersion protocolVersion) TermSelector.getOutput(ProtocolVersion protocolVersion) VectorSelector.getOutput(ProtocolVersion protocolVersion) protected org.apache.cassandra.cql3.selection.ColumnTimestampsSelector.getTTLs(ProtocolVersion protocolVersion) protected org.apache.cassandra.cql3.selection.ColumnTimestampsSimpleSelector.getTTLs(ProtocolVersion protocolVersion) protected org.apache.cassandra.cql3.selection.ColumnTimestampsSelector.getWritetimes(ProtocolVersion protocolVersion) protected org.apache.cassandra.cql3.selection.ColumnTimestampsSimpleSelector.getWritetimes(ProtocolVersion protocolVersion) voidResultSetBuilder.newRow(ProtocolVersion protocolVersion, DecoratedKey partitionKey, Clustering<?> clustering, List<ColumnMetadata> columns) Notifies thisBuilderthat a new row is being processed.Constructors in org.apache.cassandra.cql3.selection with parameters of type ProtocolVersionModifierConstructorDescriptionInputRow(ProtocolVersion protocolVersion, List<ColumnMetadata> columns, boolean unmask) InputRow(ProtocolVersion protocolVersion, List<ColumnMetadata> columns, boolean unmask, boolean collectWritetimes, boolean collectTTLs) -
Uses of ProtocolVersion in org.apache.cassandra.db
Methods in org.apache.cassandra.db with parameters of type ProtocolVersionModifier and TypeMethodDescriptiondefault QueryPagerPartitionRangeReadQuery.getPager(PagingState pagingState, ProtocolVersion protocolVersion) ReadQuery.getPager(PagingState pagingState, ProtocolVersion protocolVersion) Returns a pager for the query.default SinglePartitionPagerSinglePartitionReadQuery.getPager(PagingState pagingState, ProtocolVersion protocolVersion) SinglePartitionReadQuery.Group.getPager(PagingState pagingState, ProtocolVersion protocolVersion) -
Uses of ProtocolVersion in org.apache.cassandra.db.marshal
Methods in org.apache.cassandra.db.marshal with parameters of type ProtocolVersionModifier and TypeMethodDescriptionAbstractType.DefaultArgumentDeserializer.deserialize(ProtocolVersion protocolVersion, ByteBuffer buffer) NumberType.NumberArgumentDeserializer.deserialize(ProtocolVersion protocolVersion, ByteBuffer buffer) UserType.serializeForNativeProtocol(Iterator<Cell<?>> cells, ProtocolVersion protocolVersion) static StringCollectionType.setOrListToJsonString(ByteBuffer buffer, AbstractType<?> elementsType, ProtocolVersion protocolVersion) AbstractCompositeType.toJSONString(ByteBuffer buffer, ProtocolVersion protocolVersion) AbstractType.toJSONString(ByteBuffer buffer, ProtocolVersion protocolVersion) Converts the specified value into its JSON representation.<V> StringAbstractType.toJSONString(V value, ValueAccessor<V> accessor, ProtocolVersion protocolVersion) AsciiType.toJSONString(ByteBuffer buffer, ProtocolVersion protocolVersion) BooleanType.toJSONString(ByteBuffer buffer, ProtocolVersion protocolVersion) BytesType.toJSONString(ByteBuffer buffer, ProtocolVersion protocolVersion) ByteType.toJSONString(ByteBuffer buffer, ProtocolVersion protocolVersion) CounterColumnType.toJSONString(ByteBuffer buffer, ProtocolVersion protocolVersion) DateType.toJSONString(ByteBuffer buffer, ProtocolVersion protocolVersion) Deprecated.DecimalType.toJSONString(ByteBuffer buffer, ProtocolVersion protocolVersion) DoubleType.toJSONString(ByteBuffer buffer, ProtocolVersion protocolVersion) DynamicCompositeType.FixedValueComparator.toJSONString(ByteBuffer buffer, ProtocolVersion protocolVersion) EmptyType.toJSONString(ByteBuffer buffer, ProtocolVersion protocolVersion) FloatType.toJSONString(ByteBuffer buffer, ProtocolVersion protocolVersion) FrozenType.toJSONString(ByteBuffer buffer, ProtocolVersion protocolVersion) InetAddressType.toJSONString(ByteBuffer buffer, ProtocolVersion protocolVersion) Int32Type.toJSONString(ByteBuffer buffer, ProtocolVersion protocolVersion) IntegerType.toJSONString(ByteBuffer buffer, ProtocolVersion protocolVersion) ListType.toJSONString(ByteBuffer buffer, ProtocolVersion protocolVersion) LongType.toJSONString(ByteBuffer buffer, ProtocolVersion protocolVersion) MapType.toJSONString(ByteBuffer buffer, ProtocolVersion protocolVersion) PartitionerDefinedOrder.toJSONString(ByteBuffer buffer, ProtocolVersion protocolVersion) ReversedType.toJSONString(ByteBuffer buffer, ProtocolVersion protocolVersion) SetType.toJSONString(ByteBuffer buffer, ProtocolVersion protocolVersion) ShortType.toJSONString(ByteBuffer buffer, ProtocolVersion protocolVersion) SimpleDateType.toJSONString(ByteBuffer buffer, ProtocolVersion protocolVersion) TimestampType.toJSONString(ByteBuffer buffer, ProtocolVersion protocolVersion) TimeType.toJSONString(ByteBuffer buffer, ProtocolVersion protocolVersion) TupleType.toJSONString(ByteBuffer buffer, ProtocolVersion protocolVersion) UserType.toJSONString(ByteBuffer buffer, ProtocolVersion protocolVersion) UTF8Type.toJSONString(ByteBuffer buffer, ProtocolVersion protocolVersion) VectorType.toJSONString(ByteBuffer buffer, ProtocolVersion protocolVersion) <V> StringVectorType.toJSONString(V value, ValueAccessor<V> accessor, ProtocolVersion protocolVersion) -
Uses of ProtocolVersion in org.apache.cassandra.service.pager
Fields in org.apache.cassandra.service.pager declared as ProtocolVersionModifier and TypeFieldDescriptionprotected final ProtocolVersionAbstractQueryPager.protocolVersionprotected final ProtocolVersionAbstractQueryPager.protocolVersionMethods in org.apache.cassandra.service.pager with parameters of type ProtocolVersionModifier and TypeMethodDescriptionstatic PagingState.RowMarkPagingState.RowMark.create(TableMetadata metadata, Row row, ProtocolVersion protocolVersion) static PagingStatePagingState.deserialize(ByteBuffer bytes, ProtocolVersion protocolVersion) It's possible to receive a V3 paging state on a V4 client session, and vice versa - so we cannot blindly rely on the protocol version provided.PagingState.serialize(ProtocolVersion protocolVersion) intPagingState.serializedSize(ProtocolVersion protocolVersion) Constructors in org.apache.cassandra.service.pager with parameters of type ProtocolVersionModifierConstructorDescriptionMultiPartitionPager(SinglePartitionReadQuery.Group<T> group, PagingState state, ProtocolVersion protocolVersion) PartitionRangeQueryPager(PartitionRangeReadQuery query, PagingState state, ProtocolVersion protocolVersion) PartitionRangeQueryPager(PartitionRangeReadQuery query, ProtocolVersion protocolVersion, DecoratedKey lastReturnedKey, PagingState.RowMark lastReturnedRow, int remaining, int remainingInPartition) SinglePartitionPager(SinglePartitionReadQuery query, PagingState state, ProtocolVersion protocolVersion) -
Uses of ProtocolVersion in org.apache.cassandra.transport
Fields in org.apache.cassandra.transport declared as ProtocolVersionModifier and TypeFieldDescriptionstatic final ProtocolVersionProtocolVersion.CURRENTThe preferred version.protected ProtocolVersionMessage.forcedProtocolVersionfinal ProtocolVersionEvent.Type.minimumVersionfinal ProtocolVersionEnvelope.Header.versionprotected final ProtocolVersionSimpleClient.versionFields in org.apache.cassandra.transport with type parameters of type ProtocolVersionModifier and TypeFieldDescriptionstatic final Optional<ProtocolVersion>ProtocolVersion.BETAstatic final EnumSet<ProtocolVersion>ProtocolVersion.SUPPORTEDAll supported versions, published as an enumsetstatic final EnumSet<ProtocolVersion>ProtocolVersion.UNSUPPORTEDOld unsupported versions, this is OK as long as we never add newer unsupported versionsMethods in org.apache.cassandra.transport that return ProtocolVersionModifier and TypeMethodDescriptionstatic ProtocolVersionProtocolVersion.decode(int versionNum, boolean allowOlderProtocols) ProtocolException.getForcedProtocolVersion()DataType.getProtocolVersion()Connection.getVersion()static ProtocolVersionReturns the enum constant of this class with the specified name.static ProtocolVersion[]ProtocolVersion.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.cassandra.transport that return types with arguments of type ProtocolVersionModifier and TypeMethodDescriptionstatic List<ProtocolVersion>ProtocolVersion.supportedVersionsStartingWith(ProtocolVersion smallestVersion) Methods in org.apache.cassandra.transport with parameters of type ProtocolVersionModifier and TypeMethodDescriptionvoidPipelineConfigurator.configureModernPipeline(io.netty.channel.ChannelHandlerContext ctx, ServerConnection serverConnection, org.apache.cassandra.transport.ClientResourceLimits.Allocator resourceAllocator, ProtocolVersion version, Map<String, String> options) static EnvelopeEnvelope.create(Message.Type type, int streamId, ProtocolVersion version, EnumSet<Envelope.Header.Flag> flags, io.netty.buffer.ByteBuf body) CBCodec.decode(io.netty.buffer.ByteBuf body, ProtocolVersion version) DataType.Codec.decodeOne(io.netty.buffer.ByteBuf body, ProtocolVersion version) static EventEvent.deserialize(io.netty.buffer.ByteBuf cb, ProtocolVersion version) static Event.SchemaChangeEvent.SchemaChange.deserializeEvent(io.netty.buffer.ByteBuf cb, ProtocolVersion version) voidCBCodec.encode(T t, io.netty.buffer.ByteBuf dest, ProtocolVersion version) Message.encode(ProtocolVersion version) intCBCodec.encodedSize(T t, ProtocolVersion version) protected abstract intEvent.eventSerializedSize(ProtocolVersion version) intEvent.SchemaChange.eventSerializedSize(ProtocolVersion version) protected intEvent.StatusChange.eventSerializedSize(ProtocolVersion version) protected intEvent.TopologyChange.eventSerializedSize(ProtocolVersion version) DataType.fromType(AbstractType type, ProtocolVersion version) intDataType.getId(ProtocolVersion version) final booleanProtocolVersion.isGreaterOrEqualTo(ProtocolVersion other) final booleanProtocolVersion.isGreaterThan(ProtocolVersion other) final booleanProtocolVersion.isSmallerOrEqualTo(ProtocolVersion other) final booleanProtocolVersion.isSmallerThan(ProtocolVersion other) Connection.Factory.newConnection(io.netty.channel.Channel channel, ProtocolVersion version) intDataType.Codec.oneSerializedSize(Pair<DataType, Object> option, ProtocolVersion version) static io.netty.channel.ChannelInboundHandlerAdapterExceptionHandlers.postV5Handler(FrameEncoder.PayloadAllocator allocator, ProtocolVersion version) SimpleClient.Builder.protocolVersion(ProtocolVersion version) static ByteBufferCBUtil.readBoundValue(io.netty.buffer.ByteBuf cb, ProtocolVersion protocolVersion) static Pair<List<String>,List<ByteBuffer>> CBUtil.readNameAndValueList(io.netty.buffer.ByteBuf cb, ProtocolVersion protocolVersion) DataType.readValue(io.netty.buffer.ByteBuf cb, ProtocolVersion version) static List<ByteBuffer>CBUtil.readValueList(io.netty.buffer.ByteBuf cb, ProtocolVersion protocolVersion) voidEvent.serialize(io.netty.buffer.ByteBuf dest, ProtocolVersion version) intEvent.serializedSize(ProtocolVersion version) intDataType.serializedValueSize(Object value, ProtocolVersion version) voidEvent.SchemaChange.serializeEvent(io.netty.buffer.ByteBuf dest, ProtocolVersion version) protected abstract voidEvent.serializeEvent(io.netty.buffer.ByteBuf dest, ProtocolVersion version) protected voidEvent.StatusChange.serializeEvent(io.netty.buffer.ByteBuf dest, ProtocolVersion version) protected voidEvent.TopologyChange.serializeEvent(io.netty.buffer.ByteBuf dest, ProtocolVersion version) static List<ProtocolVersion>ProtocolVersion.supportedVersionsStartingWith(ProtocolVersion smallestVersion) voidDataType.Codec.writeOne(Pair<DataType, Object> option, io.netty.buffer.ByteBuf dest, ProtocolVersion version) voidDataType.writeValue(Object value, io.netty.buffer.ByteBuf cb, ProtocolVersion version) Constructors in org.apache.cassandra.transport with parameters of type ProtocolVersionModifierConstructorDescriptionClient(String host, int port, ProtocolVersion version, EncryptionOptions encryptionOptions) Connection(io.netty.channel.Channel channel, ProtocolVersion version, Connection.Tracker tracker) ProtocolException(String msg, ProtocolVersion forcedProtocolVersion) SimpleClient(String host, int port, ProtocolVersion version) SimpleClient(String host, int port, ProtocolVersion version, boolean useBeta, EncryptionOptions encryptionOptions) SimpleClient(String host, int port, ProtocolVersion version, EncryptionOptions encryptionOptions) -
Uses of ProtocolVersion in org.apache.cassandra.transport.messages
Methods in org.apache.cassandra.transport.messages with parameters of type ProtocolVersionModifier and TypeMethodDescriptionUnsupportedMessageCodec.decode(io.netty.buffer.ByteBuf body, ProtocolVersion version) voidUnsupportedMessageCodec.encode(T t, io.netty.buffer.ByteBuf dest, ProtocolVersion version) intUnsupportedMessageCodec.encodedSize(T t, ProtocolVersion version)