Class PartitionedTableDescriptor
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,PartitionedTableDescriptorOrBuilder,Serializable
public final class PartitionedTableDescriptor
extends com.google.protobuf.GeneratedMessageV3
implements PartitionedTableDescriptorOrBuilder
A message that describes a partitioned table, able to be sent as a plugin object to a client. This object will also come with a ticket to the underlying table that can be used to get the constituent tables by key.Protobuf type
io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA message that describes a partitioned table, able to be sent as a plugin object to a client.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanTrue if the underlying table may tick with updates.The name of the column in the underlying table that contains the table represented by that row.com.google.protobuf.ByteStringThe name of the column in the underlying table that contains the table represented by that row.com.google.protobuf.ByteStringReturns a flight Messsage wrapping a Schema that will describe every table contained in this PartitionedTable.static PartitionedTableDescriptorstatic final com.google.protobuf.Descriptors.DescriptorgetKeyColumnNames(int index) The names of the key columns.com.google.protobuf.ByteStringgetKeyColumnNamesBytes(int index) The names of the key columns.intThe names of the key columns.com.google.protobuf.ProtocolStringListThe names of the key columns.com.google.protobuf.Parser<PartitionedTableDescriptor>intbooleanTrue if the keys will be unique, so any set of known keys can be queried using GetTable.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(PartitionedTableDescriptor prototype) protected PartitionedTableDescriptor.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static PartitionedTableDescriptorparseDelimitedFrom(InputStream input) static PartitionedTableDescriptorparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PartitionedTableDescriptorparseFrom(byte[] data) static PartitionedTableDescriptorparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PartitionedTableDescriptorparseFrom(com.google.protobuf.ByteString data) static PartitionedTableDescriptorparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PartitionedTableDescriptorparseFrom(com.google.protobuf.CodedInputStream input) static PartitionedTableDescriptorparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PartitionedTableDescriptorparseFrom(InputStream input) static PartitionedTableDescriptorparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PartitionedTableDescriptorparseFrom(ByteBuffer data) static PartitionedTableDescriptorparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<PartitionedTableDescriptor>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
KEY_COLUMN_NAMES_FIELD_NUMBER
public static final int KEY_COLUMN_NAMES_FIELD_NUMBER- See Also:
-
CONSTITUENT_COLUMN_NAME_FIELD_NUMBER
public static final int CONSTITUENT_COLUMN_NAME_FIELD_NUMBER- See Also:
-
UNIQUE_KEYS_FIELD_NUMBER
public static final int UNIQUE_KEYS_FIELD_NUMBER- See Also:
-
CONSTITUENT_DEFINITION_SCHEMA_FIELD_NUMBER
public static final int CONSTITUENT_DEFINITION_SCHEMA_FIELD_NUMBER- See Also:
-
CONSTITUENT_CHANGES_PERMITTED_FIELD_NUMBER
public static final int CONSTITUENT_CHANGES_PERMITTED_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getKeyColumnNamesList
public com.google.protobuf.ProtocolStringList getKeyColumnNamesList()The names of the key columns. The underlying table will contain these columns - a client can subscribe to these columns to see what keys are present.
repeated string key_column_names = 1;- Specified by:
getKeyColumnNamesListin interfacePartitionedTableDescriptorOrBuilder- Returns:
- A list containing the keyColumnNames.
-
getKeyColumnNamesCount
public int getKeyColumnNamesCount()The names of the key columns. The underlying table will contain these columns - a client can subscribe to these columns to see what keys are present.
repeated string key_column_names = 1;- Specified by:
getKeyColumnNamesCountin interfacePartitionedTableDescriptorOrBuilder- Returns:
- The count of keyColumnNames.
-
getKeyColumnNames
The names of the key columns. The underlying table will contain these columns - a client can subscribe to these columns to see what keys are present.
repeated string key_column_names = 1;- Specified by:
getKeyColumnNamesin interfacePartitionedTableDescriptorOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The keyColumnNames at the given index.
-
getKeyColumnNamesBytes
public com.google.protobuf.ByteString getKeyColumnNamesBytes(int index) The names of the key columns. The underlying table will contain these columns - a client can subscribe to these columns to see what keys are present.
repeated string key_column_names = 1;- Specified by:
getKeyColumnNamesBytesin interfacePartitionedTableDescriptorOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the keyColumnNames at the given index.
-
getConstituentColumnName
The name of the column in the underlying table that contains the table represented by that row.
string constituent_column_name = 4;- Specified by:
getConstituentColumnNamein interfacePartitionedTableDescriptorOrBuilder- Returns:
- The constituentColumnName.
-
getConstituentColumnNameBytes
public com.google.protobuf.ByteString getConstituentColumnNameBytes()The name of the column in the underlying table that contains the table represented by that row.
string constituent_column_name = 4;- Specified by:
getConstituentColumnNameBytesin interfacePartitionedTableDescriptorOrBuilder- Returns:
- The bytes for constituentColumnName.
-
getUniqueKeys
public boolean getUniqueKeys()True if the keys will be unique, so any set of known keys can be queried using GetTable.
bool unique_keys = 2;- Specified by:
getUniqueKeysin interfacePartitionedTableDescriptorOrBuilder- Returns:
- The uniqueKeys.
-
getConstituentDefinitionSchema
public com.google.protobuf.ByteString getConstituentDefinitionSchema()Returns a flight Messsage wrapping a Schema that will describe every table contained in this PartitionedTable.
bytes constituent_definition_schema = 3;- Specified by:
getConstituentDefinitionSchemain interfacePartitionedTableDescriptorOrBuilder- Returns:
- The constituentDefinitionSchema.
-
getConstituentChangesPermitted
public boolean getConstituentChangesPermitted()True if the underlying table may tick with updates. See PartitionedTable.constituentChangesPermitted() for more details.
bool constituent_changes_permitted = 5;- Specified by:
getConstituentChangesPermittedin interfacePartitionedTableDescriptorOrBuilder- Returns:
- The constituentChangesPermitted.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static PartitionedTableDescriptor parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PartitionedTableDescriptor parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PartitionedTableDescriptor parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PartitionedTableDescriptor parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PartitionedTableDescriptor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PartitionedTableDescriptor parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static PartitionedTableDescriptor parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static PartitionedTableDescriptor parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static PartitionedTableDescriptor parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static PartitionedTableDescriptor parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PartitionedTableDescriptor.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-