Class TableManager

java.lang.Object
org.gridgain.internal.dcr.table.TableManager

public class TableManager extends Object
DCR table manager.
  • Constructor Summary

    Constructors
    Constructor
    Description
    TableManager(String nodeName, String tableName, org.apache.ignite.client.IgniteClient client, org.apache.ignite.table.IgniteTables tables)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.ignite.client.IgniteClient
     
    org.apache.ignite.internal.schema.SchemaRegistry
    Returns registry of local schema.
    org.apache.ignite.table.KeyValueView<org.apache.ignite.table.Tuple,org.apache.ignite.table.Tuple>
    Returns source table as KeyValueView.
    long
     
    org.apache.ignite.table.KeyValueView<org.apache.ignite.table.Tuple,org.apache.ignite.table.Tuple>
    Returns target table as KeyValueView.
    org.apache.ignite.tx.Transaction
    startLocalTransaction(boolean readOnly)
    Starts transaction on local cluster.
    org.apache.ignite.tx.Transaction
    startRemoteTransaction(org.apache.ignite.tx.TransactionOptions transactionOptions)
    Starts transaction on remote cluster.
     

    Methods inherited from class java.lang.Object

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

    • TableManager

      public TableManager(String nodeName, String tableName, org.apache.ignite.client.IgniteClient client, org.apache.ignite.table.IgniteTables tables)
      Constructor.
      Parameters:
      nodeName - Node name.
      tableName - Table name.
      client - Ignite client.
      tables - Ignite tables.
  • Method Details

    • localTable

      public org.apache.ignite.table.KeyValueView<org.apache.ignite.table.Tuple,org.apache.ignite.table.Tuple> localTable()
      Returns source table as KeyValueView.
      Returns:
      Source table.
    • localSchema

      public org.apache.ignite.internal.schema.SchemaRegistry localSchema()
      Returns registry of local schema.
      Returns:
      Local schema registry.
    • remoteTable

      public org.apache.ignite.table.KeyValueView<org.apache.ignite.table.Tuple,org.apache.ignite.table.Tuple> remoteTable()
      Returns target table as KeyValueView.
      Returns:
      Target table.
    • startLocalTransaction

      public org.apache.ignite.tx.Transaction startLocalTransaction(boolean readOnly)
      Starts transaction on local cluster.
      Parameters:
      readOnly - Read/Write transaction mode.
      Returns:
      Started transaction instance.
    • startRemoteTransaction

      public org.apache.ignite.tx.Transaction startRemoteTransaction(org.apache.ignite.tx.TransactionOptions transactionOptions)
      Starts transaction on remote cluster.
      Parameters:
      transactionOptions - Transaction options.
      Returns:
      Started transaction instance.
    • tableName

      public String tableName()
    • client

      public org.apache.ignite.client.IgniteClient client()
    • observableTimestamp

      public long observableTimestamp()