Class ResultSetGrpc

java.lang.Object
io.stargate.sdk.core.domain.Page<RowGrpc>
io.stargate.sdk.grpc.domain.ResultSetGrpc

public class ResultSetGrpc extends io.stargate.sdk.core.domain.Page<RowGrpc>
Helper to parse the grpc output.
Author:
Cedrick LUNVEN (@clunven)
  • Constructor Summary

    Constructors
    Constructor
    Description
    ResultSetGrpc(io.stargate.proto.QueryOuterClass.ResultSet rs)
    Constructor for the wrapper.
  • Method Summary

    Modifier and Type
    Method
    Description
    one()
    You know you do have a single line.

    Methods inherited from class io.stargate.sdk.core.domain.Page

    getPageSize, getPageState, getResults, setResult

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ResultSetGrpc

      public ResultSetGrpc(io.stargate.proto.QueryOuterClass.ResultSet rs)
      Constructor for the wrapper.
      Parameters:
      rs - result set
  • Method Details

    • one

      public RowGrpc one()
      You know you do have a single line.
      Overrides:
      one in class io.stargate.sdk.core.domain.Page<RowGrpc>
      Returns:
      single row