Package com.ocient.jdbc.proto
Class PlanProtocol.ShuffleOperator.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.ShuffleOperator.Builder>
-
- com.ocient.jdbc.proto.PlanProtocol.ShuffleOperator.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,PlanProtocol.ShuffleOperatorOrBuilder,Cloneable
- Enclosing class:
- PlanProtocol.ShuffleOperator
public static final class PlanProtocol.ShuffleOperator.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.ShuffleOperator.Builder> implements PlanProtocol.ShuffleOperatorOrBuilder
Protobuf typexg.db.sqlPlans.ShuffleOperator
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PlanProtocol.ShuffleOperator.BuilderaddAllKeys(Iterable<String> values)The keys we are hashing by (in order) to determine the destinationPlanProtocol.ShuffleOperator.BuilderaddKeys(String value)The keys we are hashing by (in order) to determine the destinationPlanProtocol.ShuffleOperator.BuilderaddKeysBytes(com.google.protobuf.ByteString value)The keys we are hashing by (in order) to determine the destinationPlanProtocol.ShuffleOperator.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)PlanProtocol.ShuffleOperatorbuild()PlanProtocol.ShuffleOperatorbuildPartial()PlanProtocol.ShuffleOperator.Builderclear()PlanProtocol.ShuffleOperator.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)PlanProtocol.ShuffleOperator.BuilderclearKeys()The keys we are hashing by (in order) to determine the destinationPlanProtocol.ShuffleOperator.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)PlanProtocol.ShuffleOperator.BuilderclearShuffleRotation()uint64 shuffle_rotation = 2;PlanProtocol.ShuffleOperator.Builderclone()PlanProtocol.ShuffleOperatorgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetKeys(int index)The keys we are hashing by (in order) to determine the destinationcom.google.protobuf.ByteStringgetKeysBytes(int index)The keys we are hashing by (in order) to determine the destinationintgetKeysCount()The keys we are hashing by (in order) to determine the destinationcom.google.protobuf.ProtocolStringListgetKeysList()The keys we are hashing by (in order) to determine the destinationlonggetShuffleRotation()uint64 shuffle_rotation = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()PlanProtocol.ShuffleOperator.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)PlanProtocol.ShuffleOperator.BuildermergeFrom(com.google.protobuf.Message other)PlanProtocol.ShuffleOperator.BuildermergeFrom(PlanProtocol.ShuffleOperator other)PlanProtocol.ShuffleOperator.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)PlanProtocol.ShuffleOperator.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)PlanProtocol.ShuffleOperator.BuildersetKeys(int index, String value)The keys we are hashing by (in order) to determine the destinationPlanProtocol.ShuffleOperator.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)PlanProtocol.ShuffleOperator.BuildersetShuffleRotation(long value)uint64 shuffle_rotation = 2;PlanProtocol.ShuffleOperator.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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<PlanProtocol.ShuffleOperator.Builder>
-
clear
public PlanProtocol.ShuffleOperator.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<PlanProtocol.ShuffleOperator.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<PlanProtocol.ShuffleOperator.Builder>
-
getDefaultInstanceForType
public PlanProtocol.ShuffleOperator getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public PlanProtocol.ShuffleOperator build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PlanProtocol.ShuffleOperator buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PlanProtocol.ShuffleOperator.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<PlanProtocol.ShuffleOperator.Builder>
-
setField
public PlanProtocol.ShuffleOperator.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<PlanProtocol.ShuffleOperator.Builder>
-
clearField
public PlanProtocol.ShuffleOperator.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.ShuffleOperator.Builder>
-
clearOneof
public PlanProtocol.ShuffleOperator.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.ShuffleOperator.Builder>
-
setRepeatedField
public PlanProtocol.ShuffleOperator.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<PlanProtocol.ShuffleOperator.Builder>
-
addRepeatedField
public PlanProtocol.ShuffleOperator.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<PlanProtocol.ShuffleOperator.Builder>
-
mergeFrom
public PlanProtocol.ShuffleOperator.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PlanProtocol.ShuffleOperator.Builder>
-
mergeFrom
public PlanProtocol.ShuffleOperator.Builder mergeFrom(PlanProtocol.ShuffleOperator other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.ShuffleOperator.Builder>
-
mergeFrom
public PlanProtocol.ShuffleOperator.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<PlanProtocol.ShuffleOperator.Builder>- Throws:
IOException
-
getKeysList
public com.google.protobuf.ProtocolStringList getKeysList()
The keys we are hashing by (in order) to determine the destination
repeated string keys = 1;- Specified by:
getKeysListin interfacePlanProtocol.ShuffleOperatorOrBuilder- Returns:
- A list containing the keys.
-
getKeysCount
public int getKeysCount()
The keys we are hashing by (in order) to determine the destination
repeated string keys = 1;- Specified by:
getKeysCountin interfacePlanProtocol.ShuffleOperatorOrBuilder- Returns:
- The count of keys.
-
getKeys
public String getKeys(int index)
The keys we are hashing by (in order) to determine the destination
repeated string keys = 1;- Specified by:
getKeysin interfacePlanProtocol.ShuffleOperatorOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The keys at the given index.
-
getKeysBytes
public com.google.protobuf.ByteString getKeysBytes(int index)
The keys we are hashing by (in order) to determine the destination
repeated string keys = 1;- Specified by:
getKeysBytesin interfacePlanProtocol.ShuffleOperatorOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the keys at the given index.
-
setKeys
public PlanProtocol.ShuffleOperator.Builder setKeys(int index, String value)
The keys we are hashing by (in order) to determine the destination
repeated string keys = 1;- Parameters:
index- The index to set the value at.value- The keys to set.- Returns:
- This builder for chaining.
-
addKeys
public PlanProtocol.ShuffleOperator.Builder addKeys(String value)
The keys we are hashing by (in order) to determine the destination
repeated string keys = 1;- Parameters:
value- The keys to add.- Returns:
- This builder for chaining.
-
addAllKeys
public PlanProtocol.ShuffleOperator.Builder addAllKeys(Iterable<String> values)
The keys we are hashing by (in order) to determine the destination
repeated string keys = 1;- Parameters:
values- The keys to add.- Returns:
- This builder for chaining.
-
clearKeys
public PlanProtocol.ShuffleOperator.Builder clearKeys()
The keys we are hashing by (in order) to determine the destination
repeated string keys = 1;- Returns:
- This builder for chaining.
-
addKeysBytes
public PlanProtocol.ShuffleOperator.Builder addKeysBytes(com.google.protobuf.ByteString value)
The keys we are hashing by (in order) to determine the destination
repeated string keys = 1;- Parameters:
value- The bytes of the keys to add.- Returns:
- This builder for chaining.
-
getShuffleRotation
public long getShuffleRotation()
uint64 shuffle_rotation = 2;- Specified by:
getShuffleRotationin interfacePlanProtocol.ShuffleOperatorOrBuilder- Returns:
- The shuffleRotation.
-
setShuffleRotation
public PlanProtocol.ShuffleOperator.Builder setShuffleRotation(long value)
uint64 shuffle_rotation = 2;- Parameters:
value- The shuffleRotation to set.- Returns:
- This builder for chaining.
-
clearShuffleRotation
public PlanProtocol.ShuffleOperator.Builder clearShuffleRotation()
uint64 shuffle_rotation = 2;- Returns:
- This builder for chaining.
-
setUnknownFields
public final PlanProtocol.ShuffleOperator.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.ShuffleOperator.Builder>
-
mergeUnknownFields
public final PlanProtocol.ShuffleOperator.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.ShuffleOperator.Builder>
-
-