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
All Methods Instance Methods Abstract 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 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 Detail
-
getCols2PosCount
int getCols2PosCount()
A map of column name to it's position (zero-based) in the result set
map<string, uint32> cols2pos = 1;
-
containsCols2Pos
boolean containsCols2Pos(String key)
A map of column name to it's position (zero-based) in the result set
map<string, uint32> cols2pos = 1;
-
getCols2Pos
@Deprecated Map<String,Integer> getCols2Pos()
Deprecated.UsegetCols2PosMap()instead.
-
getCols2PosMap
Map<String,Integer> getCols2PosMap()
A map of column name to it's position (zero-based) in the result set
map<string, uint32> cols2pos = 1;
-
getCols2PosOrDefault
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;
-
getCols2PosOrThrow
int getCols2PosOrThrow(String key)
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
boolean containsCols2Types(String key)
A map from column name to type (uses optimizer types)
map<string, .xg.db.sqlPlans.SqlColType> cols2Types = 2;
-
getCols2Types
@Deprecated Map<String,PlanProtocol.SqlColType> 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
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;
-
getCols2TypesOrThrow
PlanProtocol.SqlColType getCols2TypesOrThrow(String key)
A map from column name to type (uses optimizer types)
map<string, .xg.db.sqlPlans.SqlColType> cols2Types = 2;
-
getCols2TypesValue
@Deprecated Map<String,Integer> getCols2TypesValue()
Deprecated.UsegetCols2TypesValueMap()instead.
-
getCols2TypesValueMap
Map<String,Integer> getCols2TypesValueMap()
A map from column name to type (uses optimizer types)
map<string, .xg.db.sqlPlans.SqlColType> cols2Types = 2;
-
getCols2TypesValueOrDefault
int getCols2TypesValueOrDefault(String key, int defaultValue)
A map from column name to type (uses optimizer types)
map<string, .xg.db.sqlPlans.SqlColType> cols2Types = 2;
-
getCols2TypesValueOrThrow
int getCols2TypesValueOrThrow(String key)
A map from column name to type (uses optimizer types)
map<string, .xg.db.sqlPlans.SqlColType> cols2Types = 2;
-
getTotalCost
double getTotalCost()
double totalCost = 5;- Returns:
- The totalCost.
-
getPartitioningCol
String getPartitioningCol()
Only used by Spark connector
string partitioningCol = 6;- Returns:
- The partitioningCol.
-
getPartitioningColBytes
com.google.protobuf.ByteString getPartitioningColBytes()
Only used by Spark connector
string partitioningCol = 6;- Returns:
- The bytes for partitioningCol.
-
getPartitioningPointsList
List<Float> getPartitioningPointsList()
Only used by Spark connector
repeated float partitioningPoints = 7;- Returns:
- A list containing the partitioningPoints.
-
getPartitioningPointsCount
int getPartitioningPointsCount()
Only used by Spark connector
repeated float partitioningPoints = 7;- Returns:
- The count of partitioningPoints.
-
getPartitioningPoints
float getPartitioningPoints(int index)
Only used by Spark connector
repeated float partitioningPoints = 7;- Parameters:
index- The index of the element to return.- Returns:
- The partitioningPoints at the given index.
-
getPartitioningColTypeValue
int getPartitioningColTypeValue()
Only used by Spark connector
.xg.db.sqlPlans.SqlColType partitioningColType = 8;- Returns:
- The enum numeric value on the wire for partitioningColType.
-
getPartitioningColType
PlanProtocol.SqlColType getPartitioningColType()
Only used by Spark connector
.xg.db.sqlPlans.SqlColType partitioningColType = 8;- Returns:
- The partitioningColType.
-
getRsSizeInBytes
long getRsSizeInBytes()
Only used by Explain
uint64 rsSizeInBytes = 9;- Returns:
- The rsSizeInBytes.
-
getUuid
String getUuid()
Uniquely identifies the plan
string uuid = 10;- Returns:
- The uuid.
-
getUuidBytes
com.google.protobuf.ByteString getUuidBytes()
Uniquely identifies the plan
string uuid = 10;- Returns:
- The bytes for uuid.
-
getPriority
double getPriority()
Scale factor for plan priority
double priority = 11;- Returns:
- The priority.
-
getTrace
boolean getTrace()
Whether or not trace is turned on
bool trace = 12;- Returns:
- The trace.
-
getPartitioningOffset
int getPartitioningOffset()
partitioning offset
uint32 partitioning_offset = 13;- Returns:
- The partitioningOffset.
-
getBranchingOffset
int getBranchingOffset()
branching offset
uint32 branching_offset = 14;- Returns:
- The branchingOffset.
-
getQuerySeq
long getQuerySeq()
query sequence #
uint64 querySeq = 15;- Returns:
- The querySeq.
-
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;- Returns:
- The partitionCount.
-
getIndexMemUsage
long getIndexMemUsage()
index and query memory usage in bytes
uint64 indexMemUsage = 17;- Returns:
- The indexMemUsage.
-
getQueryMemUsage
long getQueryMemUsage()
uint64 queryMemUsage = 18;- Returns:
- The queryMemUsage.
-
getRateLimited
boolean getRateLimited()
Deprecated
bool rate_limited = 19;- Returns:
- The rateLimited.
-
getGlobalPfactor
int getGlobalPfactor()
uint32 global_pfactor = 20;- Returns:
- The globalPfactor.
-
getPartitioningColNullable
boolean getPartitioningColNullable()
Only used by Spark connector
bool partitioningColNullable = 21;- Returns:
- The partitioningColNullable.
-
getVersion
int getVersion()
uint32 version = 22;- Returns:
- The version.
-
getDatabase
String getDatabase()
string database = 23;- Returns:
- The database.
-
getDatabaseBytes
com.google.protobuf.ByteString getDatabaseBytes()
string database = 23;- Returns:
- The bytes for database.
-
getInternalCost
double getInternalCost()
double internalCost = 24;- Returns:
- The internalCost.
-
getExternalCost
double getExternalCost()
double externalCost = 25;- Returns:
- The externalCost.
-
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 Map<Integer,PlanProtocol.ExecutionClusters> 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
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;
-
-