Package io.substrait.proto
Class AggregateRel
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.substrait.proto.AggregateRel
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,AggregateRelOrBuilder,Serializable
public final class AggregateRel
extends com.google.protobuf.GeneratedMessageV3
implements AggregateRelOrBuilder
The relational operator representing a GROUP BY AggregateProtobuf type
substrait.AggregateRel- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe relational operator representing a GROUP BY Aggregatestatic final classProtobuf typesubstrait.AggregateRel.Groupingstatic interfacestatic final classProtobuf typesubstrait.AggregateRel.Measurestatic interfaceNested 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 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 TypeMethodDescriptionboolean.substrait.extensions.AdvancedExtension advanced_extension = 10;.substrait.extensions.AdvancedExtension advanced_extension = 10;.substrait.RelCommon common = 1;.substrait.RelCommon common = 1;static AggregateRelstatic final com.google.protobuf.Descriptors.DescriptorgetGroupingExpressions(int index) A list of zero or more grouping expressions that grouping sets (i.e., `Grouping` messages in the `groupings` field) can reference.intA list of zero or more grouping expressions that grouping sets (i.e., `Grouping` messages in the `groupings` field) can reference.A list of zero or more grouping expressions that grouping sets (i.e., `Grouping` messages in the `groupings` field) can reference.getGroupingExpressionsOrBuilder(int index) A list of zero or more grouping expressions that grouping sets (i.e., `Grouping` messages in the `groupings` field) can reference.List<? extends ExpressionOrBuilder>A list of zero or more grouping expressions that grouping sets (i.e., `Grouping` messages in the `groupings` field) can reference.getGroupings(int index) A list of zero or more grouping sets that the aggregation measures should be calculated for.intA list of zero or more grouping sets that the aggregation measures should be calculated for.A list of zero or more grouping sets that the aggregation measures should be calculated for.getGroupingsOrBuilder(int index) A list of zero or more grouping sets that the aggregation measures should be calculated for.List<? extends AggregateRel.GroupingOrBuilder>A list of zero or more grouping sets that the aggregation measures should be calculated for.getInput()Input of the aggregationInput of the aggregationgetMeasures(int index) A list of one or more aggregate expressions along with an optional filter.intA list of one or more aggregate expressions along with an optional filter.A list of one or more aggregate expressions along with an optional filter.getMeasuresOrBuilder(int index) A list of one or more aggregate expressions along with an optional filter.List<? extends AggregateRel.MeasureOrBuilder>A list of one or more aggregate expressions along with an optional filter.com.google.protobuf.Parser<AggregateRel>intboolean.substrait.extensions.AdvancedExtension advanced_extension = 10;boolean.substrait.RelCommon common = 1;inthashCode()booleanhasInput()Input of the aggregationprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic AggregateRel.Builderstatic AggregateRel.BuildernewBuilder(AggregateRel prototype) protected AggregateRel.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static AggregateRelparseDelimitedFrom(InputStream input) static AggregateRelparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AggregateRelparseFrom(byte[] data) static AggregateRelparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AggregateRelparseFrom(com.google.protobuf.ByteString data) static AggregateRelparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AggregateRelparseFrom(com.google.protobuf.CodedInputStream input) static AggregateRelparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AggregateRelparseFrom(InputStream input) static AggregateRelparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AggregateRelparseFrom(ByteBuffer data) static AggregateRelparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AggregateRel>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
-
COMMON_FIELD_NUMBER
public static final int COMMON_FIELD_NUMBER- See Also:
-
INPUT_FIELD_NUMBER
public static final int INPUT_FIELD_NUMBER- See Also:
-
GROUPINGS_FIELD_NUMBER
public static final int GROUPINGS_FIELD_NUMBER- See Also:
-
MEASURES_FIELD_NUMBER
public static final int MEASURES_FIELD_NUMBER- See Also:
-
GROUPING_EXPRESSIONS_FIELD_NUMBER
public static final int GROUPING_EXPRESSIONS_FIELD_NUMBER- See Also:
-
ADVANCED_EXTENSION_FIELD_NUMBER
public static final int ADVANCED_EXTENSION_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
-
hasCommon
public boolean hasCommon().substrait.RelCommon common = 1;- Specified by:
hasCommonin interfaceAggregateRelOrBuilder- Returns:
- Whether the common field is set.
-
getCommon
.substrait.RelCommon common = 1;- Specified by:
getCommonin interfaceAggregateRelOrBuilder- Returns:
- The common.
-
getCommonOrBuilder
.substrait.RelCommon common = 1;- Specified by:
getCommonOrBuilderin interfaceAggregateRelOrBuilder
-
hasInput
public boolean hasInput()Input of the aggregation
.substrait.Rel input = 2;- Specified by:
hasInputin interfaceAggregateRelOrBuilder- Returns:
- Whether the input field is set.
-
getInput
Input of the aggregation
.substrait.Rel input = 2;- Specified by:
getInputin interfaceAggregateRelOrBuilder- Returns:
- The input.
-
getInputOrBuilder
Input of the aggregation
.substrait.Rel input = 2;- Specified by:
getInputOrBuilderin interfaceAggregateRelOrBuilder
-
getGroupingsList
A list of zero or more grouping sets that the aggregation measures should be calculated for. There must be at least one grouping set if there are no measures (but it can be the empty grouping set).
repeated .substrait.AggregateRel.Grouping groupings = 3;- Specified by:
getGroupingsListin interfaceAggregateRelOrBuilder
-
getGroupingsOrBuilderList
A list of zero or more grouping sets that the aggregation measures should be calculated for. There must be at least one grouping set if there are no measures (but it can be the empty grouping set).
repeated .substrait.AggregateRel.Grouping groupings = 3;- Specified by:
getGroupingsOrBuilderListin interfaceAggregateRelOrBuilder
-
getGroupingsCount
public int getGroupingsCount()A list of zero or more grouping sets that the aggregation measures should be calculated for. There must be at least one grouping set if there are no measures (but it can be the empty grouping set).
repeated .substrait.AggregateRel.Grouping groupings = 3;- Specified by:
getGroupingsCountin interfaceAggregateRelOrBuilder
-
getGroupings
A list of zero or more grouping sets that the aggregation measures should be calculated for. There must be at least one grouping set if there are no measures (but it can be the empty grouping set).
repeated .substrait.AggregateRel.Grouping groupings = 3;- Specified by:
getGroupingsin interfaceAggregateRelOrBuilder
-
getGroupingsOrBuilder
A list of zero or more grouping sets that the aggregation measures should be calculated for. There must be at least one grouping set if there are no measures (but it can be the empty grouping set).
repeated .substrait.AggregateRel.Grouping groupings = 3;- Specified by:
getGroupingsOrBuilderin interfaceAggregateRelOrBuilder
-
getMeasuresList
A list of one or more aggregate expressions along with an optional filter. Required if there are no groupings.
repeated .substrait.AggregateRel.Measure measures = 4;- Specified by:
getMeasuresListin interfaceAggregateRelOrBuilder
-
getMeasuresOrBuilderList
A list of one or more aggregate expressions along with an optional filter. Required if there are no groupings.
repeated .substrait.AggregateRel.Measure measures = 4;- Specified by:
getMeasuresOrBuilderListin interfaceAggregateRelOrBuilder
-
getMeasuresCount
public int getMeasuresCount()A list of one or more aggregate expressions along with an optional filter. Required if there are no groupings.
repeated .substrait.AggregateRel.Measure measures = 4;- Specified by:
getMeasuresCountin interfaceAggregateRelOrBuilder
-
getMeasures
A list of one or more aggregate expressions along with an optional filter. Required if there are no groupings.
repeated .substrait.AggregateRel.Measure measures = 4;- Specified by:
getMeasuresin interfaceAggregateRelOrBuilder
-
getMeasuresOrBuilder
A list of one or more aggregate expressions along with an optional filter. Required if there are no groupings.
repeated .substrait.AggregateRel.Measure measures = 4;- Specified by:
getMeasuresOrBuilderin interfaceAggregateRelOrBuilder
-
getGroupingExpressionsList
A list of zero or more grouping expressions that grouping sets (i.e., `Grouping` messages in the `groupings` field) can reference. Each expression in this list must be referred to by at least one `Grouping.expression_references`.
repeated .substrait.Expression grouping_expressions = 5;- Specified by:
getGroupingExpressionsListin interfaceAggregateRelOrBuilder
-
getGroupingExpressionsOrBuilderList
A list of zero or more grouping expressions that grouping sets (i.e., `Grouping` messages in the `groupings` field) can reference. Each expression in this list must be referred to by at least one `Grouping.expression_references`.
repeated .substrait.Expression grouping_expressions = 5;- Specified by:
getGroupingExpressionsOrBuilderListin interfaceAggregateRelOrBuilder
-
getGroupingExpressionsCount
public int getGroupingExpressionsCount()A list of zero or more grouping expressions that grouping sets (i.e., `Grouping` messages in the `groupings` field) can reference. Each expression in this list must be referred to by at least one `Grouping.expression_references`.
repeated .substrait.Expression grouping_expressions = 5;- Specified by:
getGroupingExpressionsCountin interfaceAggregateRelOrBuilder
-
getGroupingExpressions
A list of zero or more grouping expressions that grouping sets (i.e., `Grouping` messages in the `groupings` field) can reference. Each expression in this list must be referred to by at least one `Grouping.expression_references`.
repeated .substrait.Expression grouping_expressions = 5;- Specified by:
getGroupingExpressionsin interfaceAggregateRelOrBuilder
-
getGroupingExpressionsOrBuilder
A list of zero or more grouping expressions that grouping sets (i.e., `Grouping` messages in the `groupings` field) can reference. Each expression in this list must be referred to by at least one `Grouping.expression_references`.
repeated .substrait.Expression grouping_expressions = 5;- Specified by:
getGroupingExpressionsOrBuilderin interfaceAggregateRelOrBuilder
-
hasAdvancedExtension
public boolean hasAdvancedExtension().substrait.extensions.AdvancedExtension advanced_extension = 10;- Specified by:
hasAdvancedExtensionin interfaceAggregateRelOrBuilder- Returns:
- Whether the advancedExtension field is set.
-
getAdvancedExtension
.substrait.extensions.AdvancedExtension advanced_extension = 10;- Specified by:
getAdvancedExtensionin interfaceAggregateRelOrBuilder- Returns:
- The advancedExtension.
-
getAdvancedExtensionOrBuilder
.substrait.extensions.AdvancedExtension advanced_extension = 10;- Specified by:
getAdvancedExtensionOrBuilderin interfaceAggregateRelOrBuilder
-
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 AggregateRel parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AggregateRel parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AggregateRel parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AggregateRel parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AggregateRel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AggregateRel parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AggregateRel parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AggregateRel parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AggregateRel 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 AggregateRel.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
-