Package com.clickhouse.data
Interface ClickHouseDeserializer
- All Known Implementing Classes:
ClickHouseDeserializer.CompositeDeserializer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Deprecated.
Functional interface for deserialization.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classDeprecated. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ClickHouseDeserializerDeprecated.Default deserializer simply returns empty value.static final ClickHouseDeserializerDeprecated.Default deserializer throws IOException to inform caller deserialization is not supported.static final StringDeprecated. -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(ClickHouseValue ref, ClickHouseInputStream input) Deprecated.Deserializes data read from input stream.static ClickHouseDeserializerof(ClickHouseDeserializer first, ClickHouseDeserializer... more) Deprecated.Creates composite deserializer.static ClickHouseDeserializerof(List<ClickHouseDeserializer> list) Deprecated.
-
Field Details
-
EMPTY_VALUE
Deprecated.Default deserializer simply returns empty value. -
NOT_SUPPORTED
Deprecated.Default deserializer throws IOException to inform caller deserialization is not supported. -
TYPE_NAME
Deprecated.- See Also:
-
-
Method Details
-
of
Deprecated.Creates composite deserializer.- Parameters:
first- first deserializermore- other deserializers- Returns:
- composite deserializer
-
of
Deprecated. -
deserialize
Deprecated.Deserializes data read from input stream.- Parameters:
ref- wrapper object can be reused, could be null(always return new wrapper object)input- non-null input stream- Returns:
- deserialized value which usually is same as
ref, return null if the deserialization expects more - Throws:
IOException- when failed to read data from input stream
-