All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.scalar.db.rpc.TableMetadataOrBuilder Maven / Gradle / Ivy

There is a newer version: 3.13.2
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: scalardb.proto

package com.scalar.db.rpc;

public interface TableMetadataOrBuilder extends
    // @@protoc_insertion_point(interface_extends:rpc.TableMetadata)
    com.google.protobuf.MessageOrBuilder {

  /**
   * map<string, .rpc.DataType> column = 1;
   */
  int getColumnCount();
  /**
   * map<string, .rpc.DataType> column = 1;
   */
  boolean containsColumn(
      java.lang.String key);
  /**
   * Use {@link #getColumnMap()} instead.
   */
  @java.lang.Deprecated
  java.util.Map
  getColumn();
  /**
   * map<string, .rpc.DataType> column = 1;
   */
  java.util.Map
  getColumnMap();
  /**
   * map<string, .rpc.DataType> column = 1;
   */
  /* nullable */
com.scalar.db.rpc.DataType getColumnOrDefault(
      java.lang.String key,
      /* nullable */
com.scalar.db.rpc.DataType         defaultValue);
  /**
   * map<string, .rpc.DataType> column = 1;
   */
  com.scalar.db.rpc.DataType getColumnOrThrow(
      java.lang.String key);
  /**
   * Use {@link #getColumnValueMap()} instead.
   */
  @java.lang.Deprecated
  java.util.Map
  getColumnValue();
  /**
   * map<string, .rpc.DataType> column = 1;
   */
  java.util.Map
  getColumnValueMap();
  /**
   * map<string, .rpc.DataType> column = 1;
   */

  int getColumnValueOrDefault(
      java.lang.String key,
      int defaultValue);
  /**
   * map<string, .rpc.DataType> column = 1;
   */

  int getColumnValueOrThrow(
      java.lang.String key);

  /**
   * repeated string partition_key_name = 2;
   * @return A list containing the partitionKeyName.
   */
  java.util.List
      getPartitionKeyNameList();
  /**
   * repeated string partition_key_name = 2;
   * @return The count of partitionKeyName.
   */
  int getPartitionKeyNameCount();
  /**
   * repeated string partition_key_name = 2;
   * @param index The index of the element to return.
   * @return The partitionKeyName at the given index.
   */
  java.lang.String getPartitionKeyName(int index);
  /**
   * repeated string partition_key_name = 2;
   * @param index The index of the value to return.
   * @return The bytes of the partitionKeyName at the given index.
   */
  com.google.protobuf.ByteString
      getPartitionKeyNameBytes(int index);

  /**
   * repeated string clustering_key_name = 3;
   * @return A list containing the clusteringKeyName.
   */
  java.util.List
      getClusteringKeyNameList();
  /**
   * repeated string clustering_key_name = 3;
   * @return The count of clusteringKeyName.
   */
  int getClusteringKeyNameCount();
  /**
   * repeated string clustering_key_name = 3;
   * @param index The index of the element to return.
   * @return The clusteringKeyName at the given index.
   */
  java.lang.String getClusteringKeyName(int index);
  /**
   * repeated string clustering_key_name = 3;
   * @param index The index of the value to return.
   * @return The bytes of the clusteringKeyName at the given index.
   */
  com.google.protobuf.ByteString
      getClusteringKeyNameBytes(int index);

  /**
   * map<string, .rpc.Order> clustering_order = 4;
   */
  int getClusteringOrderCount();
  /**
   * map<string, .rpc.Order> clustering_order = 4;
   */
  boolean containsClusteringOrder(
      java.lang.String key);
  /**
   * Use {@link #getClusteringOrderMap()} instead.
   */
  @java.lang.Deprecated
  java.util.Map
  getClusteringOrder();
  /**
   * map<string, .rpc.Order> clustering_order = 4;
   */
  java.util.Map
  getClusteringOrderMap();
  /**
   * map<string, .rpc.Order> clustering_order = 4;
   */
  /* nullable */
com.scalar.db.rpc.Order getClusteringOrderOrDefault(
      java.lang.String key,
      /* nullable */
com.scalar.db.rpc.Order         defaultValue);
  /**
   * map<string, .rpc.Order> clustering_order = 4;
   */
  com.scalar.db.rpc.Order getClusteringOrderOrThrow(
      java.lang.String key);
  /**
   * Use {@link #getClusteringOrderValueMap()} instead.
   */
  @java.lang.Deprecated
  java.util.Map
  getClusteringOrderValue();
  /**
   * map<string, .rpc.Order> clustering_order = 4;
   */
  java.util.Map
  getClusteringOrderValueMap();
  /**
   * map<string, .rpc.Order> clustering_order = 4;
   */

  int getClusteringOrderValueOrDefault(
      java.lang.String key,
      int defaultValue);
  /**
   * map<string, .rpc.Order> clustering_order = 4;
   */

  int getClusteringOrderValueOrThrow(
      java.lang.String key);

  /**
   * repeated string secondary_index_name = 5;
   * @return A list containing the secondaryIndexName.
   */
  java.util.List
      getSecondaryIndexNameList();
  /**
   * repeated string secondary_index_name = 5;
   * @return The count of secondaryIndexName.
   */
  int getSecondaryIndexNameCount();
  /**
   * repeated string secondary_index_name = 5;
   * @param index The index of the element to return.
   * @return The secondaryIndexName at the given index.
   */
  java.lang.String getSecondaryIndexName(int index);
  /**
   * repeated string secondary_index_name = 5;
   * @param index The index of the value to return.
   * @return The bytes of the secondaryIndexName at the given index.
   */
  com.google.protobuf.ByteString
      getSecondaryIndexNameBytes(int index);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy