Package com.ocient.jdbc.proto
Interface PlanProtocol.PlanHeaderOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PlanProtocol.PlanHeader,PlanProtocol.PlanHeader.Builder
- Enclosing class:
- PlanProtocol
public static interface PlanProtocol.PlanHeaderOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
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 queryintgetBranchingOffset()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;doublegetExternalCost()double externalCost = 25;intgetGlobalPfactor()uint32 global_pfactor = 20;longgetIndexMemUsage()index and query memory usage in bytesdoublegetInternalCost()double internalCost = 24;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 ExplaindoublegetTotalCost()double totalCost = 5;booleangetTrace()Whether or not trace is turned onStringgetUuid()Uniquely identifies the plancom.google.protobuf.ByteStringgetUuidBytes()Uniquely identifies the planintgetVersion()uint32 version = 22;Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getCols2PosCount
int getCols2PosCount()A map of column name to it's position (zero-based) in the result set
map<string, uint32> cols2pos = 1; -
containsCols2Pos
A map of column name to it's position (zero-based) in the result set
map<string, uint32> cols2pos = 1; -
getCols2Pos
Deprecated.UsegetCols2PosMap()instead. -
getCols2PosMap
A map of column name to it's position (zero-based) in the result set
map<string, uint32> cols2pos = 1; -
getCols2PosOrDefault
A map of column name to it's position (zero-based) in the result set
map<string, uint32> cols2pos = 1; -
getCols2PosOrThrow
A map of column name to it's position (zero-based) in the result set
map<string, uint32> cols2pos = 1; -
getCols2TypesCount
int getCols2TypesCount()A map from column name to type (uses optimizer types)
map<string, .xg.db.sqlPlans.SqlColType> cols2Types = 2; -
containsCols2Types
A map from column name to type (uses optimizer types)
map<string, .xg.db.sqlPlans.SqlColType> cols2Types = 2; -
getCols2Types
Deprecated.UsegetCols2TypesMap()instead. -
getCols2TypesMap
Map<String,PlanProtocol.SqlColType> getCols2TypesMap()A map from column name to type (uses optimizer types)
map<string, .xg.db.sqlPlans.SqlColType> cols2Types = 2; -
getCols2TypesOrDefault
A map from column name to type (uses optimizer types)
map<string, .xg.db.sqlPlans.SqlColType> cols2Types = 2; -
getCols2TypesOrThrow
A map from column name to type (uses optimizer types)
map<string, .xg.db.sqlPlans.SqlColType> cols2Types = 2; -
getCols2TypesValue
Deprecated.UsegetCols2TypesValueMap()instead. -
getCols2TypesValueMap
A map from column name to type (uses optimizer types)
map<string, .xg.db.sqlPlans.SqlColType> cols2Types = 2; -
getCols2TypesValueOrDefault
A map from column name to type (uses optimizer types)
map<string, .xg.db.sqlPlans.SqlColType> cols2Types = 2; -
getCols2TypesValueOrThrow
A map from column name to type (uses optimizer types)
map<string, .xg.db.sqlPlans.SqlColType> cols2Types = 2; -
getTotalCost
double getTotalCost()double totalCost = 5; -
getPartitioningCol
String getPartitioningCol()Only used by Spark connector
string partitioningCol = 6; -
getPartitioningColBytes
com.google.protobuf.ByteString getPartitioningColBytes()Only used by Spark connector
string partitioningCol = 6; -
getPartitioningPointsList
Only used by Spark connector
repeated float partitioningPoints = 7; -
getPartitioningPointsCount
int getPartitioningPointsCount()Only used by Spark connector
repeated float partitioningPoints = 7; -
getPartitioningPoints
float getPartitioningPoints(int index)Only used by Spark connector
repeated float partitioningPoints = 7; -
getPartitioningColTypeValue
int getPartitioningColTypeValue()Only used by Spark connector
.xg.db.sqlPlans.SqlColType partitioningColType = 8; -
getPartitioningColType
PlanProtocol.SqlColType getPartitioningColType()Only used by Spark connector
.xg.db.sqlPlans.SqlColType partitioningColType = 8; -
getRsSizeInBytes
long getRsSizeInBytes()Only used by Explain
uint64 rsSizeInBytes = 9; -
getUuid
String getUuid()Uniquely identifies the plan
string uuid = 10; -
getUuidBytes
com.google.protobuf.ByteString getUuidBytes()Uniquely identifies the plan
string uuid = 10; -
getPriority
double getPriority()Scale factor for plan priority
double priority = 11; -
getTrace
boolean getTrace()Whether or not trace is turned on
bool trace = 12; -
getPartitioningOffset
int getPartitioningOffset()partitioning offset
uint32 partitioning_offset = 13; -
getBranchingOffset
int getBranchingOffset()branching offset
uint32 branching_offset = 14; -
getQuerySeq
long getQuerySeq()query sequence #
uint64 querySeq = 15; -
getPartitionCount
int getPartitionCount()partition count, is set by vm while processing GATHER operator, prior to sending the plan to downstream peers
uint32 partition_count = 16; -
getIndexMemUsage
long getIndexMemUsage()index and query memory usage in bytes
uint64 indexMemUsage = 17; -
getQueryMemUsage
long getQueryMemUsage()uint64 queryMemUsage = 18; -
getRateLimited
boolean getRateLimited()Deprecated
bool rate_limited = 19; -
getGlobalPfactor
int getGlobalPfactor()uint32 global_pfactor = 20; -
getPartitioningColNullable
boolean getPartitioningColNullable()Only used by Spark connector
bool partitioningColNullable = 21; -
getVersion
int getVersion()uint32 version = 22; -
getDatabase
String getDatabase()string database = 23; -
getDatabaseBytes
com.google.protobuf.ByteString getDatabaseBytes()string database = 23; -
getInternalCost
double getInternalCost()double internalCost = 24; -
getExternalCost
double getExternalCost()double externalCost = 25; -
getComputeConfigurationCount
int getComputeConfigurationCount()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; -
containsComputeConfiguration
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; -
getComputeConfiguration
Deprecated.UsegetComputeConfigurationMap()instead. -
getComputeConfigurationMap
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; -
getComputeConfigurationOrDefault
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; -
getComputeConfigurationOrThrow
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;
-