Package com.ocient.jdbc.proto
Class PlanProtocol.PlanHeader
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.ocient.jdbc.proto.PlanProtocol.PlanHeader
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,PlanProtocol.PlanHeaderOrBuilder,Serializable
- Enclosing class:
- PlanProtocol
public static final class PlanProtocol.PlanHeader extends com.google.protobuf.GeneratedMessageV3 implements PlanProtocol.PlanHeaderOrBuilder
Header that starts of the plan message
Protobuf typexg.db.sqlPlans.PlanHeader- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPlanProtocol.PlanHeader.BuilderHeader that starts of the plan message-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intBRANCHING_OFFSET_FIELD_NUMBERstatic intCOLS2POS_FIELD_NUMBERstatic intCOLS2TYPES_FIELD_NUMBERstatic intCOMPUTE_CONFIGURATION_FIELD_NUMBERstatic intDATABASE_FIELD_NUMBERstatic intEXTERNALCOST_FIELD_NUMBERstatic intGLOBAL_PFACTOR_FIELD_NUMBERstatic intINDEXMEMUSAGE_FIELD_NUMBERstatic intINTERNALCOST_FIELD_NUMBERstatic intPARTITION_COUNT_FIELD_NUMBERstatic intPARTITIONING_OFFSET_FIELD_NUMBERstatic intPARTITIONINGCOL_FIELD_NUMBERstatic intPARTITIONINGCOLNULLABLE_FIELD_NUMBERstatic intPARTITIONINGCOLTYPE_FIELD_NUMBERstatic intPARTITIONINGPOINTS_FIELD_NUMBERstatic intPRIORITY_FIELD_NUMBERstatic intQUERYMEMUSAGE_FIELD_NUMBERstatic intQUERYSEQ_FIELD_NUMBERstatic intRATE_LIMITED_FIELD_NUMBERstatic intRSSIZEINBYTES_FIELD_NUMBERstatic intTOTALCOST_FIELD_NUMBERstatic intTRACE_FIELD_NUMBERstatic intUUID_FIELD_NUMBERstatic intVERSION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsCols2Pos(String key)A map of column name to it's position (zero-based) in the result setbooleancontainsCols2Types(String key)A map from column name to type (uses optimizer types)booleancontainsComputeConfiguration(int key)only used during actual execution, not populated by optimizer/plangen defines the compute configuration to be used for querybooleanequals(Object obj)intgetBranchingOffset()branching offsetMap<String,Integer>getCols2Pos()Deprecated.intgetCols2PosCount()A map of column name to it's position (zero-based) in the result setMap<String,Integer>getCols2PosMap()A map of column name to it's position (zero-based) in the result setintgetCols2PosOrDefault(String key, int defaultValue)A map of column name to it's position (zero-based) in the result setintgetCols2PosOrThrow(String key)A map of column name to it's position (zero-based) in the result setMap<String,PlanProtocol.SqlColType>getCols2Types()Deprecated.intgetCols2TypesCount()A map from column name to type (uses optimizer types)Map<String,PlanProtocol.SqlColType>getCols2TypesMap()A map from column name to type (uses optimizer types)PlanProtocol.SqlColTypegetCols2TypesOrDefault(String key, PlanProtocol.SqlColType defaultValue)A map from column name to type (uses optimizer types)PlanProtocol.SqlColTypegetCols2TypesOrThrow(String key)A map from column name to type (uses optimizer types)Map<String,Integer>getCols2TypesValue()Deprecated.Map<String,Integer>getCols2TypesValueMap()A map from column name to type (uses optimizer types)intgetCols2TypesValueOrDefault(String key, int defaultValue)A map from column name to type (uses optimizer types)intgetCols2TypesValueOrThrow(String key)A map from column name to type (uses optimizer types)Map<Integer,PlanProtocol.ExecutionClusters>getComputeConfiguration()Deprecated.intgetComputeConfigurationCount()only used during actual execution, not populated by optimizer/plangen defines the compute configuration to be used for queryMap<Integer,PlanProtocol.ExecutionClusters>getComputeConfigurationMap()only used during actual execution, not populated by optimizer/plangen defines the compute configuration to be used for queryPlanProtocol.ExecutionClustersgetComputeConfigurationOrDefault(int key, PlanProtocol.ExecutionClusters defaultValue)only used during actual execution, not populated by optimizer/plangen defines the compute configuration to be used for queryPlanProtocol.ExecutionClustersgetComputeConfigurationOrThrow(int key)only used during actual execution, not populated by optimizer/plangen defines the compute configuration to be used for queryStringgetDatabase()string database = 23;com.google.protobuf.ByteStringgetDatabaseBytes()string database = 23;static PlanProtocol.PlanHeadergetDefaultInstance()PlanProtocol.PlanHeadergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()doublegetExternalCost()double externalCost = 25;intgetGlobalPfactor()uint32 global_pfactor = 20;longgetIndexMemUsage()index and query memory usage in bytesdoublegetInternalCost()double internalCost = 24;com.google.protobuf.Parser<PlanProtocol.PlanHeader>getParserForType()intgetPartitionCount()partition count, is set by vm while processing GATHER operator, prior to sending the plan to downstream peersStringgetPartitioningCol()Only used by Spark connectorcom.google.protobuf.ByteStringgetPartitioningColBytes()Only used by Spark connectorbooleangetPartitioningColNullable()Only used by Spark connectorPlanProtocol.SqlColTypegetPartitioningColType()Only used by Spark connectorintgetPartitioningColTypeValue()Only used by Spark connectorintgetPartitioningOffset()partitioning offsetfloatgetPartitioningPoints(int index)Only used by Spark connectorintgetPartitioningPointsCount()Only used by Spark connectorList<Float>getPartitioningPointsList()Only used by Spark connectordoublegetPriority()Scale factor for plan prioritylonggetQueryMemUsage()uint64 queryMemUsage = 18;longgetQuerySeq()query sequence #booleangetRateLimited()DeprecatedlonggetRsSizeInBytes()Only used by ExplainintgetSerializedSize()doublegetTotalCost()double totalCost = 5;booleangetTrace()Whether or not trace is turned oncom.google.protobuf.UnknownFieldSetgetUnknownFields()StringgetUuid()Uniquely identifies the plancom.google.protobuf.ByteStringgetUuidBytes()Uniquely identifies the planintgetVersion()uint32 version = 22;inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static PlanProtocol.PlanHeader.BuildernewBuilder()static PlanProtocol.PlanHeader.BuildernewBuilder(PlanProtocol.PlanHeader prototype)PlanProtocol.PlanHeader.BuildernewBuilderForType()protected PlanProtocol.PlanHeader.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static PlanProtocol.PlanHeaderparseDelimitedFrom(InputStream input)static PlanProtocol.PlanHeaderparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PlanProtocol.PlanHeaderparseFrom(byte[] data)static PlanProtocol.PlanHeaderparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PlanProtocol.PlanHeaderparseFrom(com.google.protobuf.ByteString data)static PlanProtocol.PlanHeaderparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PlanProtocol.PlanHeaderparseFrom(com.google.protobuf.CodedInputStream input)static PlanProtocol.PlanHeaderparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PlanProtocol.PlanHeaderparseFrom(InputStream input)static PlanProtocol.PlanHeaderparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PlanProtocol.PlanHeaderparseFrom(ByteBuffer data)static PlanProtocol.PlanHeaderparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<PlanProtocol.PlanHeader>parser()PlanProtocol.PlanHeader.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
COLS2POS_FIELD_NUMBER
public static final int COLS2POS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COLS2TYPES_FIELD_NUMBER
public static final int COLS2TYPES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TOTALCOST_FIELD_NUMBER
public static final int TOTALCOST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARTITIONINGCOL_FIELD_NUMBER
public static final int PARTITIONINGCOL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARTITIONINGPOINTS_FIELD_NUMBER
public static final int PARTITIONINGPOINTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARTITIONINGCOLTYPE_FIELD_NUMBER
public static final int PARTITIONINGCOLTYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RSSIZEINBYTES_FIELD_NUMBER
public static final int RSSIZEINBYTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UUID_FIELD_NUMBER
public static final int UUID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIORITY_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRACE_FIELD_NUMBER
public static final int TRACE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARTITIONING_OFFSET_FIELD_NUMBER
public static final int PARTITIONING_OFFSET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BRANCHING_OFFSET_FIELD_NUMBER
public static final int BRANCHING_OFFSET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QUERYSEQ_FIELD_NUMBER
public static final int QUERYSEQ_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARTITION_COUNT_FIELD_NUMBER
public static final int PARTITION_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INDEXMEMUSAGE_FIELD_NUMBER
public static final int INDEXMEMUSAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QUERYMEMUSAGE_FIELD_NUMBER
public static final int QUERYMEMUSAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RATE_LIMITED_FIELD_NUMBER
public static final int RATE_LIMITED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GLOBAL_PFACTOR_FIELD_NUMBER
public static final int GLOBAL_PFACTOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARTITIONINGCOLNULLABLE_FIELD_NUMBER
public static final int PARTITIONINGCOLNULLABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATABASE_FIELD_NUMBER
public static final int DATABASE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INTERNALCOST_FIELD_NUMBER
public static final int INTERNALCOST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXTERNALCOST_FIELD_NUMBER
public static final int EXTERNALCOST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMPUTE_CONFIGURATION_FIELD_NUMBER
public static final int COMPUTE_CONFIGURATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getCols2PosCount
public int getCols2PosCount()
Description copied from interface:PlanProtocol.PlanHeaderOrBuilderA map of column name to it's position (zero-based) in the result set
map<string, uint32> cols2pos = 1;- Specified by:
getCols2PosCountin interfacePlanProtocol.PlanHeaderOrBuilder
-
containsCols2Pos
public boolean containsCols2Pos(String key)
A map of column name to it's position (zero-based) in the result set
map<string, uint32> cols2pos = 1;- Specified by:
containsCols2Posin interfacePlanProtocol.PlanHeaderOrBuilder
-
getCols2Pos
@Deprecated public Map<String,Integer> getCols2Pos()
Deprecated.UsegetCols2PosMap()instead.- Specified by:
getCols2Posin interfacePlanProtocol.PlanHeaderOrBuilder
-
getCols2PosMap
public Map<String,Integer> getCols2PosMap()
A map of column name to it's position (zero-based) in the result set
map<string, uint32> cols2pos = 1;- Specified by:
getCols2PosMapin interfacePlanProtocol.PlanHeaderOrBuilder
-
getCols2PosOrDefault
public int getCols2PosOrDefault(String key, int defaultValue)
A map of column name to it's position (zero-based) in the result set
map<string, uint32> cols2pos = 1;- Specified by:
getCols2PosOrDefaultin interfacePlanProtocol.PlanHeaderOrBuilder
-
getCols2PosOrThrow
public int getCols2PosOrThrow(String key)
A map of column name to it's position (zero-based) in the result set
map<string, uint32> cols2pos = 1;- Specified by:
getCols2PosOrThrowin interfacePlanProtocol.PlanHeaderOrBuilder
-
getCols2TypesCount
public int getCols2TypesCount()
Description copied from interface:PlanProtocol.PlanHeaderOrBuilderA map from column name to type (uses optimizer types)
map<string, .xg.db.sqlPlans.SqlColType> cols2Types = 2;- Specified by:
getCols2TypesCountin interfacePlanProtocol.PlanHeaderOrBuilder
-
containsCols2Types
public boolean containsCols2Types(String key)
A map from column name to type (uses optimizer types)
map<string, .xg.db.sqlPlans.SqlColType> cols2Types = 2;- Specified by:
containsCols2Typesin interfacePlanProtocol.PlanHeaderOrBuilder
-
getCols2Types
@Deprecated public Map<String,PlanProtocol.SqlColType> getCols2Types()
Deprecated.UsegetCols2TypesMap()instead.- Specified by:
getCols2Typesin interfacePlanProtocol.PlanHeaderOrBuilder
-
getCols2TypesMap
public Map<String,PlanProtocol.SqlColType> getCols2TypesMap()
A map from column name to type (uses optimizer types)
map<string, .xg.db.sqlPlans.SqlColType> cols2Types = 2;- Specified by:
getCols2TypesMapin interfacePlanProtocol.PlanHeaderOrBuilder
-
getCols2TypesOrDefault
public PlanProtocol.SqlColType getCols2TypesOrDefault(String key, PlanProtocol.SqlColType defaultValue)
A map from column name to type (uses optimizer types)
map<string, .xg.db.sqlPlans.SqlColType> cols2Types = 2;- Specified by:
getCols2TypesOrDefaultin interfacePlanProtocol.PlanHeaderOrBuilder
-
getCols2TypesOrThrow
public PlanProtocol.SqlColType getCols2TypesOrThrow(String key)
A map from column name to type (uses optimizer types)
map<string, .xg.db.sqlPlans.SqlColType> cols2Types = 2;- Specified by:
getCols2TypesOrThrowin interfacePlanProtocol.PlanHeaderOrBuilder
-
getCols2TypesValue
@Deprecated public Map<String,Integer> getCols2TypesValue()
Deprecated.UsegetCols2TypesValueMap()instead.- Specified by:
getCols2TypesValuein interfacePlanProtocol.PlanHeaderOrBuilder
-
getCols2TypesValueMap
public Map<String,Integer> getCols2TypesValueMap()
A map from column name to type (uses optimizer types)
map<string, .xg.db.sqlPlans.SqlColType> cols2Types = 2;- Specified by:
getCols2TypesValueMapin interfacePlanProtocol.PlanHeaderOrBuilder
-
getCols2TypesValueOrDefault
public int getCols2TypesValueOrDefault(String key, int defaultValue)
A map from column name to type (uses optimizer types)
map<string, .xg.db.sqlPlans.SqlColType> cols2Types = 2;- Specified by:
getCols2TypesValueOrDefaultin interfacePlanProtocol.PlanHeaderOrBuilder
-
getCols2TypesValueOrThrow
public int getCols2TypesValueOrThrow(String key)
A map from column name to type (uses optimizer types)
map<string, .xg.db.sqlPlans.SqlColType> cols2Types = 2;- Specified by:
getCols2TypesValueOrThrowin interfacePlanProtocol.PlanHeaderOrBuilder
-
getTotalCost
public double getTotalCost()
double totalCost = 5;- Specified by:
getTotalCostin interfacePlanProtocol.PlanHeaderOrBuilder- Returns:
- The totalCost.
-
getPartitioningCol
public String getPartitioningCol()
Only used by Spark connector
string partitioningCol = 6;- Specified by:
getPartitioningColin interfacePlanProtocol.PlanHeaderOrBuilder- Returns:
- The partitioningCol.
-
getPartitioningColBytes
public com.google.protobuf.ByteString getPartitioningColBytes()
Only used by Spark connector
string partitioningCol = 6;- Specified by:
getPartitioningColBytesin interfacePlanProtocol.PlanHeaderOrBuilder- Returns:
- The bytes for partitioningCol.
-
getPartitioningPointsList
public List<Float> getPartitioningPointsList()
Only used by Spark connector
repeated float partitioningPoints = 7;- Specified by:
getPartitioningPointsListin interfacePlanProtocol.PlanHeaderOrBuilder- Returns:
- A list containing the partitioningPoints.
-
getPartitioningPointsCount
public int getPartitioningPointsCount()
Only used by Spark connector
repeated float partitioningPoints = 7;- Specified by:
getPartitioningPointsCountin interfacePlanProtocol.PlanHeaderOrBuilder- Returns:
- The count of partitioningPoints.
-
getPartitioningPoints
public float getPartitioningPoints(int index)
Only used by Spark connector
repeated float partitioningPoints = 7;- Specified by:
getPartitioningPointsin interfacePlanProtocol.PlanHeaderOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The partitioningPoints at the given index.
-
getPartitioningColTypeValue
public int getPartitioningColTypeValue()
Only used by Spark connector
.xg.db.sqlPlans.SqlColType partitioningColType = 8;- Specified by:
getPartitioningColTypeValuein interfacePlanProtocol.PlanHeaderOrBuilder- Returns:
- The enum numeric value on the wire for partitioningColType.
-
getPartitioningColType
public PlanProtocol.SqlColType getPartitioningColType()
Only used by Spark connector
.xg.db.sqlPlans.SqlColType partitioningColType = 8;- Specified by:
getPartitioningColTypein interfacePlanProtocol.PlanHeaderOrBuilder- Returns:
- The partitioningColType.
-
getRsSizeInBytes
public long getRsSizeInBytes()
Only used by Explain
uint64 rsSizeInBytes = 9;- Specified by:
getRsSizeInBytesin interfacePlanProtocol.PlanHeaderOrBuilder- Returns:
- The rsSizeInBytes.
-
getUuid
public String getUuid()
Uniquely identifies the plan
string uuid = 10;- Specified by:
getUuidin interfacePlanProtocol.PlanHeaderOrBuilder- Returns:
- The uuid.
-
getUuidBytes
public com.google.protobuf.ByteString getUuidBytes()
Uniquely identifies the plan
string uuid = 10;- Specified by:
getUuidBytesin interfacePlanProtocol.PlanHeaderOrBuilder- Returns:
- The bytes for uuid.
-
getPriority
public double getPriority()
Scale factor for plan priority
double priority = 11;- Specified by:
getPriorityin interfacePlanProtocol.PlanHeaderOrBuilder- Returns:
- The priority.
-
getTrace
public boolean getTrace()
Whether or not trace is turned on
bool trace = 12;- Specified by:
getTracein interfacePlanProtocol.PlanHeaderOrBuilder- Returns:
- The trace.
-
getPartitioningOffset
public int getPartitioningOffset()
partitioning offset
uint32 partitioning_offset = 13;- Specified by:
getPartitioningOffsetin interfacePlanProtocol.PlanHeaderOrBuilder- Returns:
- The partitioningOffset.
-
getBranchingOffset
public int getBranchingOffset()
branching offset
uint32 branching_offset = 14;- Specified by:
getBranchingOffsetin interfacePlanProtocol.PlanHeaderOrBuilder- Returns:
- The branchingOffset.
-
getQuerySeq
public long getQuerySeq()
query sequence #
uint64 querySeq = 15;- Specified by:
getQuerySeqin interfacePlanProtocol.PlanHeaderOrBuilder- Returns:
- The querySeq.
-
getPartitionCount
public int getPartitionCount()
partition count, is set by vm while processing GATHER operator, prior to sending the plan to downstream peers
uint32 partition_count = 16;- Specified by:
getPartitionCountin interfacePlanProtocol.PlanHeaderOrBuilder- Returns:
- The partitionCount.
-
getIndexMemUsage
public long getIndexMemUsage()
index and query memory usage in bytes
uint64 indexMemUsage = 17;- Specified by:
getIndexMemUsagein interfacePlanProtocol.PlanHeaderOrBuilder- Returns:
- The indexMemUsage.
-
getQueryMemUsage
public long getQueryMemUsage()
uint64 queryMemUsage = 18;- Specified by:
getQueryMemUsagein interfacePlanProtocol.PlanHeaderOrBuilder- Returns:
- The queryMemUsage.
-
getRateLimited
public boolean getRateLimited()
Deprecated
bool rate_limited = 19;- Specified by:
getRateLimitedin interfacePlanProtocol.PlanHeaderOrBuilder- Returns:
- The rateLimited.
-
getGlobalPfactor
public int getGlobalPfactor()
uint32 global_pfactor = 20;- Specified by:
getGlobalPfactorin interfacePlanProtocol.PlanHeaderOrBuilder- Returns:
- The globalPfactor.
-
getPartitioningColNullable
public boolean getPartitioningColNullable()
Only used by Spark connector
bool partitioningColNullable = 21;- Specified by:
getPartitioningColNullablein interfacePlanProtocol.PlanHeaderOrBuilder- Returns:
- The partitioningColNullable.
-
getVersion
public int getVersion()
uint32 version = 22;- Specified by:
getVersionin interfacePlanProtocol.PlanHeaderOrBuilder- Returns:
- The version.
-
getDatabase
public String getDatabase()
string database = 23;- Specified by:
getDatabasein interfacePlanProtocol.PlanHeaderOrBuilder- Returns:
- The database.
-
getDatabaseBytes
public com.google.protobuf.ByteString getDatabaseBytes()
string database = 23;- Specified by:
getDatabaseBytesin interfacePlanProtocol.PlanHeaderOrBuilder- Returns:
- The bytes for database.
-
getInternalCost
public double getInternalCost()
double internalCost = 24;- Specified by:
getInternalCostin interfacePlanProtocol.PlanHeaderOrBuilder- Returns:
- The internalCost.
-
getExternalCost
public double getExternalCost()
double externalCost = 25;- Specified by:
getExternalCostin interfacePlanProtocol.PlanHeaderOrBuilder- Returns:
- The externalCost.
-
getComputeConfigurationCount
public int getComputeConfigurationCount()
Description copied from interface:PlanProtocol.PlanHeaderOrBuilderonly used during actual execution, not populated by optimizer/plangen defines the compute configuration to be used for query
map<uint32, .xg.db.sqlPlans.ExecutionClusters> compute_configuration = 26;- Specified by:
getComputeConfigurationCountin interfacePlanProtocol.PlanHeaderOrBuilder
-
containsComputeConfiguration
public boolean containsComputeConfiguration(int key)
only used during actual execution, not populated by optimizer/plangen defines the compute configuration to be used for query
map<uint32, .xg.db.sqlPlans.ExecutionClusters> compute_configuration = 26;- Specified by:
containsComputeConfigurationin interfacePlanProtocol.PlanHeaderOrBuilder
-
getComputeConfiguration
@Deprecated public Map<Integer,PlanProtocol.ExecutionClusters> getComputeConfiguration()
Deprecated.UsegetComputeConfigurationMap()instead.- Specified by:
getComputeConfigurationin interfacePlanProtocol.PlanHeaderOrBuilder
-
getComputeConfigurationMap
public Map<Integer,PlanProtocol.ExecutionClusters> getComputeConfigurationMap()
only used during actual execution, not populated by optimizer/plangen defines the compute configuration to be used for query
map<uint32, .xg.db.sqlPlans.ExecutionClusters> compute_configuration = 26;- Specified by:
getComputeConfigurationMapin interfacePlanProtocol.PlanHeaderOrBuilder
-
getComputeConfigurationOrDefault
public PlanProtocol.ExecutionClusters getComputeConfigurationOrDefault(int key, PlanProtocol.ExecutionClusters defaultValue)
only used during actual execution, not populated by optimizer/plangen defines the compute configuration to be used for query
map<uint32, .xg.db.sqlPlans.ExecutionClusters> compute_configuration = 26;- Specified by:
getComputeConfigurationOrDefaultin interfacePlanProtocol.PlanHeaderOrBuilder
-
getComputeConfigurationOrThrow
public PlanProtocol.ExecutionClusters getComputeConfigurationOrThrow(int key)
only used during actual execution, not populated by optimizer/plangen defines the compute configuration to be used for query
map<uint32, .xg.db.sqlPlans.ExecutionClusters> compute_configuration = 26;- Specified by:
getComputeConfigurationOrThrowin interfacePlanProtocol.PlanHeaderOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 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
public boolean equals(Object obj)
- 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 PlanProtocol.PlanHeader parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PlanProtocol.PlanHeader parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PlanProtocol.PlanHeader parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PlanProtocol.PlanHeader parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PlanProtocol.PlanHeader parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PlanProtocol.PlanHeader parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PlanProtocol.PlanHeader parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static PlanProtocol.PlanHeader parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static PlanProtocol.PlanHeader parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static PlanProtocol.PlanHeader parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static PlanProtocol.PlanHeader parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static PlanProtocol.PlanHeader parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public PlanProtocol.PlanHeader.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static PlanProtocol.PlanHeader.Builder newBuilder()
-
newBuilder
public static PlanProtocol.PlanHeader.Builder newBuilder(PlanProtocol.PlanHeader prototype)
-
toBuilder
public PlanProtocol.PlanHeader.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PlanProtocol.PlanHeader.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static PlanProtocol.PlanHeader getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<PlanProtocol.PlanHeader> parser()
-
getParserForType
public com.google.protobuf.Parser<PlanProtocol.PlanHeader> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public PlanProtocol.PlanHeader getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-