Interface PlanProtocol.PlanHeaderOrBuilder

    • 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;
      • 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;
      • getCols2TypesMap

        Map<String,​PlanProtocol.SqlColType> getCols2TypesMap()
        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;
      • 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;
      • 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;