Interface ResultSetStatsOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    ResultSetStats, ResultSetStats.Builder

    public interface ResultSetStatsOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      QueryPlan getQueryPlan()
      [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      QueryPlanOrBuilder getQueryPlanOrBuilder()
      [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      com.google.protobuf.Struct getQueryStats()
      Aggregated statistics from the execution of the query.
      com.google.protobuf.StructOrBuilder getQueryStatsOrBuilder()
      Aggregated statistics from the execution of the query.
      ResultSetStats.RowCountCase getRowCountCase()  
      long getRowCountExact()
      Standard DML returns an exact count of rows that were modified.
      long getRowCountLowerBound()
      Partitioned DML does not offer exactly-once semantics, so it returns a lower bound of the rows modified.
      boolean hasQueryPlan()
      [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
      boolean hasQueryStats()
      Aggregated statistics from the execution of the query.
      boolean hasRowCountExact()
      Standard DML returns an exact count of rows that were modified.
      boolean hasRowCountLowerBound()
      Partitioned DML does not offer exactly-once semantics, so it returns a lower bound of the rows modified.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasQueryPlan

        boolean hasQueryPlan()
         [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
         
        .google.spanner.v1.QueryPlan query_plan = 1;
        Returns:
        Whether the queryPlan field is set.
      • getQueryPlan

        QueryPlan getQueryPlan()
         [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
         
        .google.spanner.v1.QueryPlan query_plan = 1;
        Returns:
        The queryPlan.
      • getQueryPlanOrBuilder

        QueryPlanOrBuilder getQueryPlanOrBuilder()
         [QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
         
        .google.spanner.v1.QueryPlan query_plan = 1;
      • hasQueryStats

        boolean hasQueryStats()
         Aggregated statistics from the execution of the query. Only present when
         the query is profiled. For example, a query could return the statistics as
         follows:
        
             {
               "rows_returned": "3",
               "elapsed_time": "1.22 secs",
               "cpu_time": "1.19 secs"
             }
         
        .google.protobuf.Struct query_stats = 2;
        Returns:
        Whether the queryStats field is set.
      • getQueryStats

        com.google.protobuf.Struct getQueryStats()
         Aggregated statistics from the execution of the query. Only present when
         the query is profiled. For example, a query could return the statistics as
         follows:
        
             {
               "rows_returned": "3",
               "elapsed_time": "1.22 secs",
               "cpu_time": "1.19 secs"
             }
         
        .google.protobuf.Struct query_stats = 2;
        Returns:
        The queryStats.
      • getQueryStatsOrBuilder

        com.google.protobuf.StructOrBuilder getQueryStatsOrBuilder()
         Aggregated statistics from the execution of the query. Only present when
         the query is profiled. For example, a query could return the statistics as
         follows:
        
             {
               "rows_returned": "3",
               "elapsed_time": "1.22 secs",
               "cpu_time": "1.19 secs"
             }
         
        .google.protobuf.Struct query_stats = 2;
      • hasRowCountExact

        boolean hasRowCountExact()
         Standard DML returns an exact count of rows that were modified.
         
        int64 row_count_exact = 3;
        Returns:
        Whether the rowCountExact field is set.
      • getRowCountExact

        long getRowCountExact()
         Standard DML returns an exact count of rows that were modified.
         
        int64 row_count_exact = 3;
        Returns:
        The rowCountExact.
      • hasRowCountLowerBound

        boolean hasRowCountLowerBound()
         Partitioned DML does not offer exactly-once semantics, so it
         returns a lower bound of the rows modified.
         
        int64 row_count_lower_bound = 4;
        Returns:
        Whether the rowCountLowerBound field is set.
      • getRowCountLowerBound

        long getRowCountLowerBound()
         Partitioned DML does not offer exactly-once semantics, so it
         returns a lower bound of the rows modified.
         
        int64 row_count_lower_bound = 4;
        Returns:
        The rowCountLowerBound.