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:
  • 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

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.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 class com.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 interface PartitionedTableDescriptorOrBuilder
      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 interface PartitionedTableDescriptorOrBuilder
      Returns:
      The count of keyColumnNames.
    • getKeyColumnNames

      public String getKeyColumnNames(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:
      getKeyColumnNames in interface PartitionedTableDescriptorOrBuilder
      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 interface PartitionedTableDescriptorOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the keyColumnNames at the given index.
    • getConstituentColumnName

      public String 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 interface PartitionedTableDescriptorOrBuilder
      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 interface PartitionedTableDescriptorOrBuilder
      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 interface PartitionedTableDescriptorOrBuilder
      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 interface PartitionedTableDescriptorOrBuilder
      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 interface PartitionedTableDescriptorOrBuilder
      Returns:
      The constituentChangesPermitted.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static PartitionedTableDescriptor parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PartitionedTableDescriptor parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PartitionedTableDescriptor parseDelimitedFrom(InputStream input) throws IOException
      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

      public PartitionedTableDescriptor.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static PartitionedTableDescriptor.Builder newBuilder()
    • newBuilder

      public static PartitionedTableDescriptor.Builder newBuilder(PartitionedTableDescriptor prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected PartitionedTableDescriptor.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static PartitionedTableDescriptor getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<PartitionedTableDescriptor> parser()
    • getParserForType

      public com.google.protobuf.Parser<PartitionedTableDescriptor> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public PartitionedTableDescriptor getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder