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
Modifier and TypeClassDescriptionstatic final class
A 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
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
True 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.ByteString
The name of the column in the underlying table that contains the table represented by that row.com.google.protobuf.ByteString
Returns a flight Messsage wrapping a Schema that will describe every table contained in this PartitionedTable.static PartitionedTableDescriptor
static final com.google.protobuf.Descriptors.Descriptor
getKeyColumnNames
(int index) The names of the key columns.com.google.protobuf.ByteString
getKeyColumnNamesBytes
(int index) The names of the key columns.int
The names of the key columns.com.google.protobuf.ProtocolStringList
The names of the key columns.com.google.protobuf.Parser<PartitionedTableDescriptor>
int
boolean
True if the keys will be unique, so any set of known keys can be queried using GetTable.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
newBuilder
(PartitionedTableDescriptor prototype) protected PartitionedTableDescriptor.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static PartitionedTableDescriptor
parseDelimitedFrom
(InputStream input) static PartitionedTableDescriptor
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PartitionedTableDescriptor
parseFrom
(byte[] data) static PartitionedTableDescriptor
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PartitionedTableDescriptor
parseFrom
(com.google.protobuf.ByteString data) static PartitionedTableDescriptor
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PartitionedTableDescriptor
parseFrom
(com.google.protobuf.CodedInputStream input) static PartitionedTableDescriptor
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PartitionedTableDescriptor
parseFrom
(InputStream input) static PartitionedTableDescriptor
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PartitionedTableDescriptor
parseFrom
(ByteBuffer data) static PartitionedTableDescriptor
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<PartitionedTableDescriptor>
parser()
void
writeTo
(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, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods 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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in 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:
getKeyColumnNamesList
in 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:
getKeyColumnNamesCount
in 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:
getKeyColumnNames
in 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:
getKeyColumnNamesBytes
in 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:
getConstituentColumnName
in 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:
getConstituentColumnNameBytes
in 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:
getUniqueKeys
in 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:
getConstituentDefinitionSchema
in 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:
getConstituentChangesPermitted
in interfacePartitionedTableDescriptorOrBuilder
- Returns:
- The constituentChangesPermitted.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PartitionedTableDescriptor.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-