Package com.ocient.jdbc.proto
Class PlanProtocol.PlanMessage.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.PlanMessage.Builder>
-
- com.ocient.jdbc.proto.PlanProtocol.PlanMessage.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,PlanProtocol.PlanMessageOrBuilder,Cloneable
- Enclosing class:
- PlanProtocol.PlanMessage
public static final class PlanProtocol.PlanMessage.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.PlanMessage.Builder> implements PlanProtocol.PlanMessageOrBuilder
The actual plan sent by the command compiler
Protobuf typexg.db.sqlPlans.PlanMessage
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PlanProtocol.PlanMessage.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)PlanProtocol.PlanMessagebuild()PlanProtocol.PlanMessagebuildPartial()PlanProtocol.PlanMessage.Builderclear()PlanProtocol.PlanMessage.BuilderclearEmptyResultSet()This is only needed for explain For actual execution we don't even bother generating a plan If this is set, nothing else will be setPlanProtocol.PlanMessage.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)PlanProtocol.PlanMessage.BuilderclearHeader()Header firstPlanProtocol.PlanMessage.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)PlanProtocol.PlanMessage.BuilderclearRootNode()The root operator - this is the last operator In other words, the data that comes out of here is what is returned to the callerPlanProtocol.PlanMessage.BuilderclearType()The type of the planPlanProtocol.PlanMessage.Builderclone()PlanProtocol.PlanMessagegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetEmptyResultSet()This is only needed for explain For actual execution we don't even bother generating a plan If this is set, nothing else will be setPlanProtocol.PlanHeadergetHeader()Header firstPlanProtocol.PlanHeader.BuildergetHeaderBuilder()Header firstPlanProtocol.PlanHeaderOrBuildergetHeaderOrBuilder()Header firstPlanProtocol.OperatorgetRootNode()The root operator - this is the last operator In other words, the data that comes out of here is what is returned to the callerPlanProtocol.Operator.BuildergetRootNodeBuilder()The root operator - this is the last operator In other words, the data that comes out of here is what is returned to the callerPlanProtocol.OperatorOrBuildergetRootNodeOrBuilder()The root operator - this is the last operator In other words, the data that comes out of here is what is returned to the callerPlanProtocol.PlanMessage.PlanTypegetType()The type of the planintgetTypeValue()The type of the planbooleanhasHeader()Header firstbooleanhasRootNode()The root operator - this is the last operator In other words, the data that comes out of here is what is returned to the callerprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()PlanProtocol.PlanMessage.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)PlanProtocol.PlanMessage.BuildermergeFrom(com.google.protobuf.Message other)PlanProtocol.PlanMessage.BuildermergeFrom(PlanProtocol.PlanMessage other)PlanProtocol.PlanMessage.BuildermergeHeader(PlanProtocol.PlanHeader value)Header firstPlanProtocol.PlanMessage.BuildermergeRootNode(PlanProtocol.Operator value)The root operator - this is the last operator In other words, the data that comes out of here is what is returned to the callerPlanProtocol.PlanMessage.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)PlanProtocol.PlanMessage.BuildersetEmptyResultSet(boolean value)This is only needed for explain For actual execution we don't even bother generating a plan If this is set, nothing else will be setPlanProtocol.PlanMessage.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)PlanProtocol.PlanMessage.BuildersetHeader(PlanProtocol.PlanHeader value)Header firstPlanProtocol.PlanMessage.BuildersetHeader(PlanProtocol.PlanHeader.Builder builderForValue)Header firstPlanProtocol.PlanMessage.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)PlanProtocol.PlanMessage.BuildersetRootNode(PlanProtocol.Operator value)The root operator - this is the last operator In other words, the data that comes out of here is what is returned to the callerPlanProtocol.PlanMessage.BuildersetRootNode(PlanProtocol.Operator.Builder builderForValue)The root operator - this is the last operator In other words, the data that comes out of here is what is returned to the callerPlanProtocol.PlanMessage.BuildersetType(PlanProtocol.PlanMessage.PlanType value)The type of the planPlanProtocol.PlanMessage.BuildersetTypeValue(int value)The type of the planPlanProtocol.PlanMessage.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.PlanMessage.Builder>
-
clear
public PlanProtocol.PlanMessage.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.PlanMessage.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.PlanMessage.Builder>
-
getDefaultInstanceForType
public PlanProtocol.PlanMessage getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public PlanProtocol.PlanMessage build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PlanProtocol.PlanMessage buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PlanProtocol.PlanMessage.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.PlanMessage.Builder>
-
setField
public PlanProtocol.PlanMessage.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.PlanMessage.Builder>
-
clearField
public PlanProtocol.PlanMessage.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.PlanMessage.Builder>
-
clearOneof
public PlanProtocol.PlanMessage.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.PlanMessage.Builder>
-
setRepeatedField
public PlanProtocol.PlanMessage.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.PlanMessage.Builder>
-
addRepeatedField
public PlanProtocol.PlanMessage.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.PlanMessage.Builder>
-
mergeFrom
public PlanProtocol.PlanMessage.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PlanProtocol.PlanMessage.Builder>
-
mergeFrom
public PlanProtocol.PlanMessage.Builder mergeFrom(PlanProtocol.PlanMessage other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.PlanMessage.Builder>
-
mergeFrom
public PlanProtocol.PlanMessage.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.PlanMessage.Builder>- Throws:
IOException
-
hasHeader
public boolean hasHeader()
Header first
.xg.db.sqlPlans.PlanHeader header = 1;- Specified by:
hasHeaderin interfacePlanProtocol.PlanMessageOrBuilder- Returns:
- Whether the header field is set.
-
getHeader
public PlanProtocol.PlanHeader getHeader()
Header first
.xg.db.sqlPlans.PlanHeader header = 1;- Specified by:
getHeaderin interfacePlanProtocol.PlanMessageOrBuilder- Returns:
- The header.
-
setHeader
public PlanProtocol.PlanMessage.Builder setHeader(PlanProtocol.PlanHeader value)
Header first
.xg.db.sqlPlans.PlanHeader header = 1;
-
setHeader
public PlanProtocol.PlanMessage.Builder setHeader(PlanProtocol.PlanHeader.Builder builderForValue)
Header first
.xg.db.sqlPlans.PlanHeader header = 1;
-
mergeHeader
public PlanProtocol.PlanMessage.Builder mergeHeader(PlanProtocol.PlanHeader value)
Header first
.xg.db.sqlPlans.PlanHeader header = 1;
-
clearHeader
public PlanProtocol.PlanMessage.Builder clearHeader()
Header first
.xg.db.sqlPlans.PlanHeader header = 1;
-
getHeaderBuilder
public PlanProtocol.PlanHeader.Builder getHeaderBuilder()
Header first
.xg.db.sqlPlans.PlanHeader header = 1;
-
getHeaderOrBuilder
public PlanProtocol.PlanHeaderOrBuilder getHeaderOrBuilder()
Header first
.xg.db.sqlPlans.PlanHeader header = 1;- Specified by:
getHeaderOrBuilderin interfacePlanProtocol.PlanMessageOrBuilder
-
getTypeValue
public int getTypeValue()
The type of the plan
.xg.db.sqlPlans.PlanMessage.PlanType type = 2;- Specified by:
getTypeValuein interfacePlanProtocol.PlanMessageOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
public PlanProtocol.PlanMessage.Builder setTypeValue(int value)
The type of the plan
.xg.db.sqlPlans.PlanMessage.PlanType type = 2;- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
public PlanProtocol.PlanMessage.PlanType getType()
The type of the plan
.xg.db.sqlPlans.PlanMessage.PlanType type = 2;- Specified by:
getTypein interfacePlanProtocol.PlanMessageOrBuilder- Returns:
- The type.
-
setType
public PlanProtocol.PlanMessage.Builder setType(PlanProtocol.PlanMessage.PlanType value)
The type of the plan
.xg.db.sqlPlans.PlanMessage.PlanType type = 2;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
public PlanProtocol.PlanMessage.Builder clearType()
The type of the plan
.xg.db.sqlPlans.PlanMessage.PlanType type = 2;- Returns:
- This builder for chaining.
-
hasRootNode
public boolean hasRootNode()
The root operator - this is the last operator In other words, the data that comes out of here is what is returned to the caller
.xg.db.sqlPlans.Operator rootNode = 3;- Specified by:
hasRootNodein interfacePlanProtocol.PlanMessageOrBuilder- Returns:
- Whether the rootNode field is set.
-
getRootNode
public PlanProtocol.Operator getRootNode()
The root operator - this is the last operator In other words, the data that comes out of here is what is returned to the caller
.xg.db.sqlPlans.Operator rootNode = 3;- Specified by:
getRootNodein interfacePlanProtocol.PlanMessageOrBuilder- Returns:
- The rootNode.
-
setRootNode
public PlanProtocol.PlanMessage.Builder setRootNode(PlanProtocol.Operator value)
The root operator - this is the last operator In other words, the data that comes out of here is what is returned to the caller
.xg.db.sqlPlans.Operator rootNode = 3;
-
setRootNode
public PlanProtocol.PlanMessage.Builder setRootNode(PlanProtocol.Operator.Builder builderForValue)
The root operator - this is the last operator In other words, the data that comes out of here is what is returned to the caller
.xg.db.sqlPlans.Operator rootNode = 3;
-
mergeRootNode
public PlanProtocol.PlanMessage.Builder mergeRootNode(PlanProtocol.Operator value)
The root operator - this is the last operator In other words, the data that comes out of here is what is returned to the caller
.xg.db.sqlPlans.Operator rootNode = 3;
-
clearRootNode
public PlanProtocol.PlanMessage.Builder clearRootNode()
The root operator - this is the last operator In other words, the data that comes out of here is what is returned to the caller
.xg.db.sqlPlans.Operator rootNode = 3;
-
getRootNodeBuilder
public PlanProtocol.Operator.Builder getRootNodeBuilder()
The root operator - this is the last operator In other words, the data that comes out of here is what is returned to the caller
.xg.db.sqlPlans.Operator rootNode = 3;
-
getRootNodeOrBuilder
public PlanProtocol.OperatorOrBuilder getRootNodeOrBuilder()
The root operator - this is the last operator In other words, the data that comes out of here is what is returned to the caller
.xg.db.sqlPlans.Operator rootNode = 3;- Specified by:
getRootNodeOrBuilderin interfacePlanProtocol.PlanMessageOrBuilder
-
getEmptyResultSet
public boolean getEmptyResultSet()
This is only needed for explain For actual execution we don't even bother generating a plan If this is set, nothing else will be set
bool emptyResultSet = 4;- Specified by:
getEmptyResultSetin interfacePlanProtocol.PlanMessageOrBuilder- Returns:
- The emptyResultSet.
-
setEmptyResultSet
public PlanProtocol.PlanMessage.Builder setEmptyResultSet(boolean value)
This is only needed for explain For actual execution we don't even bother generating a plan If this is set, nothing else will be set
bool emptyResultSet = 4;- Parameters:
value- The emptyResultSet to set.- Returns:
- This builder for chaining.
-
clearEmptyResultSet
public PlanProtocol.PlanMessage.Builder clearEmptyResultSet()
This is only needed for explain For actual execution we don't even bother generating a plan If this is set, nothing else will be set
bool emptyResultSet = 4;- Returns:
- This builder for chaining.
-
setUnknownFields
public final PlanProtocol.PlanMessage.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.PlanMessage.Builder>
-
mergeUnknownFields
public final PlanProtocol.PlanMessage.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.PlanMessage.Builder>
-
-