Package io.substrait.proto
Class Expression.WindowFunction.Bound.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Expression.WindowFunction.Bound.Builder>
io.substrait.proto.Expression.WindowFunction.Bound.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Expression.WindowFunction.BoundOrBuilder,Cloneable
- Enclosing class:
- Expression.WindowFunction.Bound
public static final class Expression.WindowFunction.Bound.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Expression.WindowFunction.Bound.Builder>
implements Expression.WindowFunction.BoundOrBuilder
Defines one of the two boundaries for the window of a window function.Protobuf type
substrait.Expression.WindowFunction.Bound-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The bound extends to the current record.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The bound extends some number of records ahead of the current record.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The bound extends some number of records behind the current record.The bound extends to the start of the partition or the end of the partition, depending on whether this represents the upper or lower bound.clone()The bound extends to the current record.The bound extends to the current record.The bound extends to the current record.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe bound extends some number of records ahead of the current record.The bound extends some number of records ahead of the current record.The bound extends some number of records ahead of the current record.The bound extends some number of records behind the current record.The bound extends some number of records behind the current record.The bound extends some number of records behind the current record.The bound extends to the start of the partition or the end of the partition, depending on whether this represents the upper or lower bound.The bound extends to the start of the partition or the end of the partition, depending on whether this represents the upper or lower bound.The bound extends to the start of the partition or the end of the partition, depending on whether this represents the upper or lower bound.booleanThe bound extends to the current record.booleanThe bound extends some number of records ahead of the current record.booleanThe bound extends some number of records behind the current record.booleanThe bound extends to the start of the partition or the end of the partition, depending on whether this represents the upper or lower bound.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanThe bound extends to the current record.The bound extends some number of records ahead of the current record.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The bound extends some number of records behind the current record.The bound extends to the start of the partition or the end of the partition, depending on whether this represents the upper or lower bound.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) The bound extends to the current record.setCurrentRow(Expression.WindowFunction.Bound.CurrentRow.Builder builderForValue) The bound extends to the current record.The bound extends some number of records ahead of the current record.setFollowing(Expression.WindowFunction.Bound.Following.Builder builderForValue) The bound extends some number of records ahead of the current record.The bound extends some number of records behind the current record.setPreceding(Expression.WindowFunction.Bound.Preceding.Builder builderForValue) The bound extends some number of records behind the current record.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) The bound extends to the start of the partition or the end of the partition, depending on whether this represents the upper or lower bound.setUnbounded(Expression.WindowFunction.Bound.Unbounded.Builder builderForValue) The bound extends to the start of the partition or the end of the partition, depending on whether this represents the upper or lower bound.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<Expression.WindowFunction.Bound.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Expression.WindowFunction.Bound.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Expression.WindowFunction.Bound.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Expression.WindowFunction.Bound.Builder>
-
setField
public Expression.WindowFunction.Bound.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Expression.WindowFunction.Bound.Builder>
-
clearField
public Expression.WindowFunction.Bound.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Expression.WindowFunction.Bound.Builder>
-
clearOneof
public Expression.WindowFunction.Bound.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Expression.WindowFunction.Bound.Builder>
-
setRepeatedField
public Expression.WindowFunction.Bound.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Expression.WindowFunction.Bound.Builder>
-
addRepeatedField
public Expression.WindowFunction.Bound.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Expression.WindowFunction.Bound.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Expression.WindowFunction.Bound.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Expression.WindowFunction.Bound.Builder>
-
mergeFrom
public Expression.WindowFunction.Bound.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Expression.WindowFunction.Bound.Builder>- Throws:
IOException
-
getKindCase
- Specified by:
getKindCasein interfaceExpression.WindowFunction.BoundOrBuilder
-
clearKind
-
hasPreceding
public boolean hasPreceding()The bound extends some number of records behind the current record.
.substrait.Expression.WindowFunction.Bound.Preceding preceding = 1;- Specified by:
hasPrecedingin interfaceExpression.WindowFunction.BoundOrBuilder- Returns:
- Whether the preceding field is set.
-
getPreceding
The bound extends some number of records behind the current record.
.substrait.Expression.WindowFunction.Bound.Preceding preceding = 1;- Specified by:
getPrecedingin interfaceExpression.WindowFunction.BoundOrBuilder- Returns:
- The preceding.
-
setPreceding
public Expression.WindowFunction.Bound.Builder setPreceding(Expression.WindowFunction.Bound.Preceding value) The bound extends some number of records behind the current record.
.substrait.Expression.WindowFunction.Bound.Preceding preceding = 1; -
setPreceding
public Expression.WindowFunction.Bound.Builder setPreceding(Expression.WindowFunction.Bound.Preceding.Builder builderForValue) The bound extends some number of records behind the current record.
.substrait.Expression.WindowFunction.Bound.Preceding preceding = 1; -
mergePreceding
public Expression.WindowFunction.Bound.Builder mergePreceding(Expression.WindowFunction.Bound.Preceding value) The bound extends some number of records behind the current record.
.substrait.Expression.WindowFunction.Bound.Preceding preceding = 1; -
clearPreceding
The bound extends some number of records behind the current record.
.substrait.Expression.WindowFunction.Bound.Preceding preceding = 1; -
getPrecedingBuilder
The bound extends some number of records behind the current record.
.substrait.Expression.WindowFunction.Bound.Preceding preceding = 1; -
getPrecedingOrBuilder
The bound extends some number of records behind the current record.
.substrait.Expression.WindowFunction.Bound.Preceding preceding = 1;- Specified by:
getPrecedingOrBuilderin interfaceExpression.WindowFunction.BoundOrBuilder
-
hasFollowing
public boolean hasFollowing()The bound extends some number of records ahead of the current record.
.substrait.Expression.WindowFunction.Bound.Following following = 2;- Specified by:
hasFollowingin interfaceExpression.WindowFunction.BoundOrBuilder- Returns:
- Whether the following field is set.
-
getFollowing
The bound extends some number of records ahead of the current record.
.substrait.Expression.WindowFunction.Bound.Following following = 2;- Specified by:
getFollowingin interfaceExpression.WindowFunction.BoundOrBuilder- Returns:
- The following.
-
setFollowing
public Expression.WindowFunction.Bound.Builder setFollowing(Expression.WindowFunction.Bound.Following value) The bound extends some number of records ahead of the current record.
.substrait.Expression.WindowFunction.Bound.Following following = 2; -
setFollowing
public Expression.WindowFunction.Bound.Builder setFollowing(Expression.WindowFunction.Bound.Following.Builder builderForValue) The bound extends some number of records ahead of the current record.
.substrait.Expression.WindowFunction.Bound.Following following = 2; -
mergeFollowing
public Expression.WindowFunction.Bound.Builder mergeFollowing(Expression.WindowFunction.Bound.Following value) The bound extends some number of records ahead of the current record.
.substrait.Expression.WindowFunction.Bound.Following following = 2; -
clearFollowing
The bound extends some number of records ahead of the current record.
.substrait.Expression.WindowFunction.Bound.Following following = 2; -
getFollowingBuilder
The bound extends some number of records ahead of the current record.
.substrait.Expression.WindowFunction.Bound.Following following = 2; -
getFollowingOrBuilder
The bound extends some number of records ahead of the current record.
.substrait.Expression.WindowFunction.Bound.Following following = 2;- Specified by:
getFollowingOrBuilderin interfaceExpression.WindowFunction.BoundOrBuilder
-
hasCurrentRow
public boolean hasCurrentRow()The bound extends to the current record.
.substrait.Expression.WindowFunction.Bound.CurrentRow current_row = 3;- Specified by:
hasCurrentRowin interfaceExpression.WindowFunction.BoundOrBuilder- Returns:
- Whether the currentRow field is set.
-
getCurrentRow
The bound extends to the current record.
.substrait.Expression.WindowFunction.Bound.CurrentRow current_row = 3;- Specified by:
getCurrentRowin interfaceExpression.WindowFunction.BoundOrBuilder- Returns:
- The currentRow.
-
setCurrentRow
public Expression.WindowFunction.Bound.Builder setCurrentRow(Expression.WindowFunction.Bound.CurrentRow value) The bound extends to the current record.
.substrait.Expression.WindowFunction.Bound.CurrentRow current_row = 3; -
setCurrentRow
public Expression.WindowFunction.Bound.Builder setCurrentRow(Expression.WindowFunction.Bound.CurrentRow.Builder builderForValue) The bound extends to the current record.
.substrait.Expression.WindowFunction.Bound.CurrentRow current_row = 3; -
mergeCurrentRow
public Expression.WindowFunction.Bound.Builder mergeCurrentRow(Expression.WindowFunction.Bound.CurrentRow value) The bound extends to the current record.
.substrait.Expression.WindowFunction.Bound.CurrentRow current_row = 3; -
clearCurrentRow
The bound extends to the current record.
.substrait.Expression.WindowFunction.Bound.CurrentRow current_row = 3; -
getCurrentRowBuilder
The bound extends to the current record.
.substrait.Expression.WindowFunction.Bound.CurrentRow current_row = 3; -
getCurrentRowOrBuilder
The bound extends to the current record.
.substrait.Expression.WindowFunction.Bound.CurrentRow current_row = 3;- Specified by:
getCurrentRowOrBuilderin interfaceExpression.WindowFunction.BoundOrBuilder
-
hasUnbounded
public boolean hasUnbounded()The bound extends to the start of the partition or the end of the partition, depending on whether this represents the upper or lower bound.
.substrait.Expression.WindowFunction.Bound.Unbounded unbounded = 4;- Specified by:
hasUnboundedin interfaceExpression.WindowFunction.BoundOrBuilder- Returns:
- Whether the unbounded field is set.
-
getUnbounded
The bound extends to the start of the partition or the end of the partition, depending on whether this represents the upper or lower bound.
.substrait.Expression.WindowFunction.Bound.Unbounded unbounded = 4;- Specified by:
getUnboundedin interfaceExpression.WindowFunction.BoundOrBuilder- Returns:
- The unbounded.
-
setUnbounded
public Expression.WindowFunction.Bound.Builder setUnbounded(Expression.WindowFunction.Bound.Unbounded value) The bound extends to the start of the partition or the end of the partition, depending on whether this represents the upper or lower bound.
.substrait.Expression.WindowFunction.Bound.Unbounded unbounded = 4; -
setUnbounded
public Expression.WindowFunction.Bound.Builder setUnbounded(Expression.WindowFunction.Bound.Unbounded.Builder builderForValue) The bound extends to the start of the partition or the end of the partition, depending on whether this represents the upper or lower bound.
.substrait.Expression.WindowFunction.Bound.Unbounded unbounded = 4; -
mergeUnbounded
public Expression.WindowFunction.Bound.Builder mergeUnbounded(Expression.WindowFunction.Bound.Unbounded value) The bound extends to the start of the partition or the end of the partition, depending on whether this represents the upper or lower bound.
.substrait.Expression.WindowFunction.Bound.Unbounded unbounded = 4; -
clearUnbounded
The bound extends to the start of the partition or the end of the partition, depending on whether this represents the upper or lower bound.
.substrait.Expression.WindowFunction.Bound.Unbounded unbounded = 4; -
getUnboundedBuilder
The bound extends to the start of the partition or the end of the partition, depending on whether this represents the upper or lower bound.
.substrait.Expression.WindowFunction.Bound.Unbounded unbounded = 4; -
getUnboundedOrBuilder
The bound extends to the start of the partition or the end of the partition, depending on whether this represents the upper or lower bound.
.substrait.Expression.WindowFunction.Bound.Unbounded unbounded = 4;- Specified by:
getUnboundedOrBuilderin interfaceExpression.WindowFunction.BoundOrBuilder
-
setUnknownFields
public final Expression.WindowFunction.Bound.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Expression.WindowFunction.Bound.Builder>
-
mergeUnknownFields
public final Expression.WindowFunction.Bound.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Expression.WindowFunction.Bound.Builder>
-