Class ReadOperation

  • All Implemented Interfaces:
    java.io.Serializable

    public abstract class ReadOperation
    extends java.lang.Object
    implements java.io.Serializable
    Encapsulates a spanner read operation.
    See Also:
    Serialized Form
    • Constructor Detail

      • ReadOperation

        public ReadOperation()
    • Method Detail

      • getQuery

        public abstract @Nullable com.google.cloud.spanner.Statement getQuery()
      • getQueryName

        public abstract @Nullable java.lang.String getQueryName()
      • getTable

        public abstract @Nullable java.lang.String getTable()
      • getIndex

        public abstract @Nullable java.lang.String getIndex()
      • getColumns

        public abstract @Nullable java.util.List<java.lang.String> getColumns()
      • getKeySet

        public abstract @Nullable com.google.cloud.spanner.KeySet getKeySet()
      • withTable

        public ReadOperation withTable​(java.lang.String table)
      • withColumns

        public ReadOperation withColumns​(java.lang.String... columns)
      • withColumns

        public ReadOperation withColumns​(java.util.List<java.lang.String> columns)
      • withQuery

        public ReadOperation withQuery​(com.google.cloud.spanner.Statement statement)
      • withQuery

        public ReadOperation withQuery​(java.lang.String sql)
      • withQueryName

        public ReadOperation withQueryName​(java.lang.String queryName)
      • withKeySet

        public ReadOperation withKeySet​(com.google.cloud.spanner.KeySet keySet)
      • withIndex

        public ReadOperation withIndex​(java.lang.String index)
      • withPartitionOptions

        public ReadOperation withPartitionOptions​(com.google.cloud.spanner.PartitionOptions partitionOptions)