Class TableResult

    • Constructor Detail

      • TableResult

        @InternalApi("Exposed for testing")
        public TableResult​(Schema schema,
                           long totalRows,
                           com.google.api.gax.paging.Page<FieldValueList> pageNoSchema)
        If schema is non-null, TableResult adds the schema to FieldValueLists when iterating through them. pageNoSchema must not be null.
      • TableResult

        @InternalApi("Exposed for testing")
        public TableResult​(Schema schema,
                           long totalRows,
                           com.google.api.gax.paging.Page<FieldValueList> pageNoSchema,
                           JobId jobId)
    • Method Detail

      • getJobId

        public JobId getJobId()
      • getSchema

        public Schema getSchema()
        Returns the schema of the results. Null if the schema is not supplied.
      • getTotalRows

        public long getTotalRows()
        Returns the total number of rows in the complete result set, which can be more than the number of rows in the first page of results returned by getValues().
      • hasNextPage

        public boolean hasNextPage()
        Specified by:
        hasNextPage in interface com.google.api.gax.paging.Page<FieldValueList>
      • getNextPageToken

        public String getNextPageToken()
        Specified by:
        getNextPageToken in interface com.google.api.gax.paging.Page<FieldValueList>
      • getNextPage

        public TableResult getNextPage()
        Specified by:
        getNextPage in interface com.google.api.gax.paging.Page<FieldValueList>
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object