Class Store.Coprocessor

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.dingodb.store.Store.Coprocessor
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Store.CoprocessorOrBuilder, Serializable
Enclosing class:
Store

public static final class Store.Coprocessor extends com.google.protobuf.GeneratedMessageV3 implements Store.CoprocessorOrBuilder
Protobuf type dingodb.pb.store.Coprocessor
See Also:
  • Field Details

    • SCHEMA_VERSION_FIELD_NUMBER

      public static final int SCHEMA_VERSION_FIELD_NUMBER
      See Also:
    • ORIGINAL_SCHEMA_FIELD_NUMBER

      public static final int ORIGINAL_SCHEMA_FIELD_NUMBER
      See Also:
    • RESULT_SCHEMA_FIELD_NUMBER

      public static final int RESULT_SCHEMA_FIELD_NUMBER
      See Also:
    • SELECTION_COLUMNS_FIELD_NUMBER

      public static final int SELECTION_COLUMNS_FIELD_NUMBER
      See Also:
    • EXPRESSION_FIELD_NUMBER

      public static final int EXPRESSION_FIELD_NUMBER
      See Also:
    • GROUP_BY_COLUMNS_FIELD_NUMBER

      public static final int GROUP_BY_COLUMNS_FIELD_NUMBER
      See Also:
    • AGGREGATION_OPERATORS_FIELD_NUMBER

      public static final int AGGREGATION_OPERATORS_FIELD_NUMBER
      See Also:
    • CODEC_VERSION_FIELD_NUMBER

      public static final int CODEC_VERSION_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance 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
    • getSchemaVersion

      public int getSchemaVersion()
       the version of the serialized data
       
      int32 schema_version = 1;
      Specified by:
      getSchemaVersion in interface Store.CoprocessorOrBuilder
      Returns:
      The schemaVersion.
    • hasOriginalSchema

      public boolean hasOriginalSchema()
       original schema
       
      .dingodb.pb.store.Coprocessor.SchemaWrapper original_schema = 2;
      Specified by:
      hasOriginalSchema in interface Store.CoprocessorOrBuilder
      Returns:
      Whether the originalSchema field is set.
    • getOriginalSchema

      public Store.Coprocessor.SchemaWrapper getOriginalSchema()
       original schema
       
      .dingodb.pb.store.Coprocessor.SchemaWrapper original_schema = 2;
      Specified by:
      getOriginalSchema in interface Store.CoprocessorOrBuilder
      Returns:
      The originalSchema.
    • getOriginalSchemaOrBuilder

      public Store.Coprocessor.SchemaWrapperOrBuilder getOriginalSchemaOrBuilder()
       original schema
       
      .dingodb.pb.store.Coprocessor.SchemaWrapper original_schema = 2;
      Specified by:
      getOriginalSchemaOrBuilder in interface Store.CoprocessorOrBuilder
    • hasResultSchema

      public boolean hasResultSchema()
       return schema
       
      .dingodb.pb.store.Coprocessor.SchemaWrapper result_schema = 3;
      Specified by:
      hasResultSchema in interface Store.CoprocessorOrBuilder
      Returns:
      Whether the resultSchema field is set.
    • getResultSchema

      public Store.Coprocessor.SchemaWrapper getResultSchema()
       return schema
       
      .dingodb.pb.store.Coprocessor.SchemaWrapper result_schema = 3;
      Specified by:
      getResultSchema in interface Store.CoprocessorOrBuilder
      Returns:
      The resultSchema.
    • getResultSchemaOrBuilder

      public Store.Coprocessor.SchemaWrapperOrBuilder getResultSchemaOrBuilder()
       return schema
       
      .dingodb.pb.store.Coprocessor.SchemaWrapper result_schema = 3;
      Specified by:
      getResultSchemaOrBuilder in interface Store.CoprocessorOrBuilder
    • getSelectionColumnsList

      public List<Integer> getSelectionColumnsList()
       Column selection in the table list selection
       For example, [0, 2, 4, 7] selects the index subscript of the column.
       If the length of the array is 0, it means not need to decode.
       
      repeated int32 selection_columns = 4;
      Specified by:
      getSelectionColumnsList in interface Store.CoprocessorOrBuilder
      Returns:
      A list containing the selectionColumns.
    • getSelectionColumnsCount

      public int getSelectionColumnsCount()
       Column selection in the table list selection
       For example, [0, 2, 4, 7] selects the index subscript of the column.
       If the length of the array is 0, it means not need to decode.
       
      repeated int32 selection_columns = 4;
      Specified by:
      getSelectionColumnsCount in interface Store.CoprocessorOrBuilder
      Returns:
      The count of selectionColumns.
    • getSelectionColumns

      public int getSelectionColumns(int index)
       Column selection in the table list selection
       For example, [0, 2, 4, 7] selects the index subscript of the column.
       If the length of the array is 0, it means not need to decode.
       
      repeated int32 selection_columns = 4;
      Specified by:
      getSelectionColumns in interface Store.CoprocessorOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The selectionColumns at the given index.
    • getExpression

      public com.google.protobuf.ByteString getExpression()
       The operator pushes down the expression binary filter to use empty to indicate that there is no expression and no
       filtering
       
      bytes expression = 5;
      Specified by:
      getExpression in interface Store.CoprocessorOrBuilder
      Returns:
      The expression.
    • getGroupByColumnsList

      public List<Integer> getGroupByColumnsList()
       It is allowed to be empty, indicating that there is no group by. For example, group by name, age; [0, 1]
       
      repeated int32 group_by_columns = 6;
      Specified by:
      getGroupByColumnsList in interface Store.CoprocessorOrBuilder
      Returns:
      A list containing the groupByColumns.
    • getGroupByColumnsCount

      public int getGroupByColumnsCount()
       It is allowed to be empty, indicating that there is no group by. For example, group by name, age; [0, 1]
       
      repeated int32 group_by_columns = 6;
      Specified by:
      getGroupByColumnsCount in interface Store.CoprocessorOrBuilder
      Returns:
      The count of groupByColumns.
    • getGroupByColumns

      public int getGroupByColumns(int index)
       It is allowed to be empty, indicating that there is no group by. For example, group by name, age; [0, 1]
       
      repeated int32 group_by_columns = 6;
      Specified by:
      getGroupByColumns in interface Store.CoprocessorOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The groupByColumns at the given index.
    • getAggregationOperatorsList

      public List<Store.AggregationOperator> getAggregationOperatorsList()
       group by expression
       The list that needs to be aggregated is allowed to be empty, that is, not aggregated sum(salary), count(age),
       count(salary). but group_by_columns is not allowed to be empty
       
      repeated .dingodb.pb.store.AggregationOperator aggregation_operators = 7;
      Specified by:
      getAggregationOperatorsList in interface Store.CoprocessorOrBuilder
    • getAggregationOperatorsOrBuilderList

      public List<? extends Store.AggregationOperatorOrBuilder> getAggregationOperatorsOrBuilderList()
       group by expression
       The list that needs to be aggregated is allowed to be empty, that is, not aggregated sum(salary), count(age),
       count(salary). but group_by_columns is not allowed to be empty
       
      repeated .dingodb.pb.store.AggregationOperator aggregation_operators = 7;
      Specified by:
      getAggregationOperatorsOrBuilderList in interface Store.CoprocessorOrBuilder
    • getAggregationOperatorsCount

      public int getAggregationOperatorsCount()
       group by expression
       The list that needs to be aggregated is allowed to be empty, that is, not aggregated sum(salary), count(age),
       count(salary). but group_by_columns is not allowed to be empty
       
      repeated .dingodb.pb.store.AggregationOperator aggregation_operators = 7;
      Specified by:
      getAggregationOperatorsCount in interface Store.CoprocessorOrBuilder
    • getAggregationOperators

      public Store.AggregationOperator getAggregationOperators(int index)
       group by expression
       The list that needs to be aggregated is allowed to be empty, that is, not aggregated sum(salary), count(age),
       count(salary). but group_by_columns is not allowed to be empty
       
      repeated .dingodb.pb.store.AggregationOperator aggregation_operators = 7;
      Specified by:
      getAggregationOperators in interface Store.CoprocessorOrBuilder
    • getAggregationOperatorsOrBuilder

      public Store.AggregationOperatorOrBuilder getAggregationOperatorsOrBuilder(int index)
       group by expression
       The list that needs to be aggregated is allowed to be empty, that is, not aggregated sum(salary), count(age),
       count(salary). but group_by_columns is not allowed to be empty
       
      repeated .dingodb.pb.store.AggregationOperator aggregation_operators = 7;
      Specified by:
      getAggregationOperatorsOrBuilder in interface Store.CoprocessorOrBuilder
    • getCodecVersion

      public int getCodecVersion()
      int32 codec_version = 8;
      Specified by:
      getCodecVersion in interface Store.CoprocessorOrBuilder
      Returns:
      The codecVersion.
    • 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 Store.Coprocessor parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Store.Coprocessor parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Store.Coprocessor parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Store.Coprocessor parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Store.Coprocessor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Store.Coprocessor parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Store.Coprocessor parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static Store.Coprocessor parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static Store.Coprocessor parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Store.Coprocessor parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static Store.Coprocessor.Builder newBuilder()
    • newBuilder

      public static Store.Coprocessor.Builder newBuilder(Store.Coprocessor prototype)
    • toBuilder

      public Store.Coprocessor.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static Store.Coprocessor getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<Store.Coprocessor> 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 Store.Coprocessor getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder