Package io.substrait.proto
Class ConsistentPartitionWindowRel
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.substrait.proto.ConsistentPartitionWindowRel
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ConsistentPartitionWindowRelOrBuilder,Serializable
public final class ConsistentPartitionWindowRel
extends com.google.protobuf.GeneratedMessageV3
implements ConsistentPartitionWindowRelOrBuilder
ConsistentPartitionWindowRel provides the ability to perform calculations across sets of rows that are related to the current query row. It can be used to execute window functions where all the windows share the same partitioning and ordering.Protobuf type
substrait.ConsistentPartitionWindowRel- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classConsistentPartitionWindowRel provides the ability to perform calculations across sets of rows that are related to the current query row.static final classThis message mirrors the `WindowFunction` message but removes the fields defining the partition, sorts, and bounds, since those must be consistent across the various functions in this rel.static 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 ConsistentPartitionWindowRelstatic final com.google.protobuf.Descriptors.DescriptorgetInput().substrait.Rel input = 2;.substrait.Rel input = 2;com.google.protobuf.Parser<ConsistentPartitionWindowRel>getPartitionExpressions(int index) repeated .substrait.Expression partition_expressions = 4;intrepeated .substrait.Expression partition_expressions = 4;repeated .substrait.Expression partition_expressions = 4;getPartitionExpressionsOrBuilder(int index) repeated .substrait.Expression partition_expressions = 4;List<? extends ExpressionOrBuilder>repeated .substrait.Expression partition_expressions = 4;intgetSorts(int index) repeated .substrait.SortField sorts = 5;intrepeated .substrait.SortField sorts = 5;repeated .substrait.SortField sorts = 5;getSortsOrBuilder(int index) repeated .substrait.SortField sorts = 5;List<? extends SortFieldOrBuilder>repeated .substrait.SortField sorts = 5;getWindowFunctions(int index) repeated .substrait.ConsistentPartitionWindowRel.WindowRelFunction window_functions = 3;intrepeated .substrait.ConsistentPartitionWindowRel.WindowRelFunction window_functions = 3;repeated .substrait.ConsistentPartitionWindowRel.WindowRelFunction window_functions = 3;getWindowFunctionsOrBuilder(int index) repeated .substrait.ConsistentPartitionWindowRel.WindowRelFunction window_functions = 3;repeated .substrait.ConsistentPartitionWindowRel.WindowRelFunction window_functions = 3;boolean.substrait.extensions.AdvancedExtension advanced_extension = 10;boolean.substrait.RelCommon common = 1;inthashCode()booleanhasInput().substrait.Rel input = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(ConsistentPartitionWindowRel prototype) protected ConsistentPartitionWindowRel.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ConsistentPartitionWindowRelparseDelimitedFrom(InputStream input) static ConsistentPartitionWindowRelparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConsistentPartitionWindowRelparseFrom(byte[] data) static ConsistentPartitionWindowRelparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConsistentPartitionWindowRelparseFrom(com.google.protobuf.ByteString data) static ConsistentPartitionWindowRelparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConsistentPartitionWindowRelparseFrom(com.google.protobuf.CodedInputStream input) static ConsistentPartitionWindowRelparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConsistentPartitionWindowRelparseFrom(InputStream input) static ConsistentPartitionWindowRelparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ConsistentPartitionWindowRelparseFrom(ByteBuffer data) static ConsistentPartitionWindowRelparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ConsistentPartitionWindowRel>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:
-
WINDOW_FUNCTIONS_FIELD_NUMBER
public static final int WINDOW_FUNCTIONS_FIELD_NUMBER- See Also:
-
PARTITION_EXPRESSIONS_FIELD_NUMBER
public static final int PARTITION_EXPRESSIONS_FIELD_NUMBER- See Also:
-
SORTS_FIELD_NUMBER
public static final int SORTS_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 interfaceConsistentPartitionWindowRelOrBuilder- Returns:
- Whether the common field is set.
-
getCommon
.substrait.RelCommon common = 1;- Specified by:
getCommonin interfaceConsistentPartitionWindowRelOrBuilder- Returns:
- The common.
-
getCommonOrBuilder
.substrait.RelCommon common = 1;- Specified by:
getCommonOrBuilderin interfaceConsistentPartitionWindowRelOrBuilder
-
hasInput
public boolean hasInput().substrait.Rel input = 2;- Specified by:
hasInputin interfaceConsistentPartitionWindowRelOrBuilder- Returns:
- Whether the input field is set.
-
getInput
.substrait.Rel input = 2;- Specified by:
getInputin interfaceConsistentPartitionWindowRelOrBuilder- Returns:
- The input.
-
getInputOrBuilder
.substrait.Rel input = 2;- Specified by:
getInputOrBuilderin interfaceConsistentPartitionWindowRelOrBuilder
-
getWindowFunctionsList
repeated .substrait.ConsistentPartitionWindowRel.WindowRelFunction window_functions = 3;- Specified by:
getWindowFunctionsListin interfaceConsistentPartitionWindowRelOrBuilder
-
getWindowFunctionsOrBuilderList
public List<? extends ConsistentPartitionWindowRel.WindowRelFunctionOrBuilder> getWindowFunctionsOrBuilderList()repeated .substrait.ConsistentPartitionWindowRel.WindowRelFunction window_functions = 3;- Specified by:
getWindowFunctionsOrBuilderListin interfaceConsistentPartitionWindowRelOrBuilder
-
getWindowFunctionsCount
public int getWindowFunctionsCount()repeated .substrait.ConsistentPartitionWindowRel.WindowRelFunction window_functions = 3;- Specified by:
getWindowFunctionsCountin interfaceConsistentPartitionWindowRelOrBuilder
-
getWindowFunctions
repeated .substrait.ConsistentPartitionWindowRel.WindowRelFunction window_functions = 3;- Specified by:
getWindowFunctionsin interfaceConsistentPartitionWindowRelOrBuilder
-
getWindowFunctionsOrBuilder
public ConsistentPartitionWindowRel.WindowRelFunctionOrBuilder getWindowFunctionsOrBuilder(int index) repeated .substrait.ConsistentPartitionWindowRel.WindowRelFunction window_functions = 3;- Specified by:
getWindowFunctionsOrBuilderin interfaceConsistentPartitionWindowRelOrBuilder
-
getPartitionExpressionsList
repeated .substrait.Expression partition_expressions = 4;- Specified by:
getPartitionExpressionsListin interfaceConsistentPartitionWindowRelOrBuilder
-
getPartitionExpressionsOrBuilderList
repeated .substrait.Expression partition_expressions = 4;- Specified by:
getPartitionExpressionsOrBuilderListin interfaceConsistentPartitionWindowRelOrBuilder
-
getPartitionExpressionsCount
public int getPartitionExpressionsCount()repeated .substrait.Expression partition_expressions = 4;- Specified by:
getPartitionExpressionsCountin interfaceConsistentPartitionWindowRelOrBuilder
-
getPartitionExpressions
repeated .substrait.Expression partition_expressions = 4;- Specified by:
getPartitionExpressionsin interfaceConsistentPartitionWindowRelOrBuilder
-
getPartitionExpressionsOrBuilder
repeated .substrait.Expression partition_expressions = 4;- Specified by:
getPartitionExpressionsOrBuilderin interfaceConsistentPartitionWindowRelOrBuilder
-
getSortsList
repeated .substrait.SortField sorts = 5;- Specified by:
getSortsListin interfaceConsistentPartitionWindowRelOrBuilder
-
getSortsOrBuilderList
repeated .substrait.SortField sorts = 5;- Specified by:
getSortsOrBuilderListin interfaceConsistentPartitionWindowRelOrBuilder
-
getSortsCount
public int getSortsCount()repeated .substrait.SortField sorts = 5;- Specified by:
getSortsCountin interfaceConsistentPartitionWindowRelOrBuilder
-
getSorts
repeated .substrait.SortField sorts = 5;- Specified by:
getSortsin interfaceConsistentPartitionWindowRelOrBuilder
-
getSortsOrBuilder
repeated .substrait.SortField sorts = 5;- Specified by:
getSortsOrBuilderin interfaceConsistentPartitionWindowRelOrBuilder
-
hasAdvancedExtension
public boolean hasAdvancedExtension().substrait.extensions.AdvancedExtension advanced_extension = 10;- Specified by:
hasAdvancedExtensionin interfaceConsistentPartitionWindowRelOrBuilder- Returns:
- Whether the advancedExtension field is set.
-
getAdvancedExtension
.substrait.extensions.AdvancedExtension advanced_extension = 10;- Specified by:
getAdvancedExtensionin interfaceConsistentPartitionWindowRelOrBuilder- Returns:
- The advancedExtension.
-
getAdvancedExtensionOrBuilder
.substrait.extensions.AdvancedExtension advanced_extension = 10;- Specified by:
getAdvancedExtensionOrBuilderin interfaceConsistentPartitionWindowRelOrBuilder
-
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 ConsistentPartitionWindowRel parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConsistentPartitionWindowRel parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConsistentPartitionWindowRel parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConsistentPartitionWindowRel parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConsistentPartitionWindowRel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ConsistentPartitionWindowRel parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ConsistentPartitionWindowRel parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ConsistentPartitionWindowRel parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ConsistentPartitionWindowRel parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ConsistentPartitionWindowRel 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
public static ConsistentPartitionWindowRel.Builder newBuilder(ConsistentPartitionWindowRel prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ConsistentPartitionWindowRel.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
-