Package io.deephaven.kv.schema
Class SchemaTableContext.SchemaTableParser
java.lang.Object
io.deephaven.kv.schema.SchemaTableContext.SchemaTableParser
- All Implemented Interfaces:
GetPrefixResponseParser<Optional<SchemaTable>>,KeyValuesCollectionParser<Optional<SchemaTable>>
- Enclosing class:
- SchemaTableContext
public class SchemaTableContext.SchemaTableParser
extends Object
implements GetPrefixResponseParser<Optional<SchemaTable>>
-
Method Summary
Modifier and TypeMethodDescriptionThe context where the parser will look for data in the response@NotNull Optional<SchemaTable>parse(@NotNull KeyValuesCollection response) Parse the key values into an object.request()request(long modRev) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.deephaven.kv.common.GetPrefixResponseParser
checkContext, getPrefix, parse
-
Method Details
-
request
-
request
-
parse
@NotNull public @NotNull Optional<SchemaTable> parse(@NotNull @NotNull KeyValuesCollection response) Description copied from interface:KeyValuesCollectionParserParse the key values into an object.Implementations should throw appropriate exceptions if any assumed preconditions for the
keyPathCollectionare not met.- Specified by:
parsein interfaceKeyValuesCollectionParser<Optional<SchemaTable>>- Parameters:
response- the key values- Returns:
- the non-null parsed object
-
getContext
Description copied from interface:GetPrefixResponseParserThe context where the parser will look for data in the response- Specified by:
getContextin interfaceGetPrefixResponseParser<Optional<SchemaTable>>
-