Codota Logo
TableProvider.getTable
Code IndexAdd Codota to your IDE (free)

How to use
getTable
method
in
org.apache.samza.table.descriptors.TableProvider

Best Java code snippets using org.apache.samza.table.descriptors.TableProvider.getTable (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: org.apache.samza/samza-core_2.10

 /**
  * Get a table instance
  * @param tableId Id of the table
  * @return table instance
  */
 public Table getTable(String tableId) {
  Preconditions.checkState(initialized, "TableManager has not been initialized.");

  TableCtx ctx = tableContexts.get(tableId);
  Preconditions.checkNotNull(ctx, "Unknown tableId " + tableId);

  if (ctx.table == null) {
   ctx.table = ctx.tableProvider.getTable();
  }
  return ctx.table;
 }
}
origin: org.apache.samza/samza-core_2.11

 /**
  * Get a table instance
  * @param tableId Id of the table
  * @return table instance
  */
 public Table getTable(String tableId) {
  Preconditions.checkState(initialized, "TableManager has not been initialized.");

  TableCtx ctx = tableContexts.get(tableId);
  Preconditions.checkNotNull(ctx, "Unknown tableId " + tableId);

  if (ctx.table == null) {
   ctx.table = ctx.tableProvider.getTable();
  }
  return ctx.table;
 }
}
origin: org.apache.samza/samza-core_2.12

 /**
  * Get a table instance
  * @param tableId Id of the table
  * @return table instance
  */
 public Table getTable(String tableId) {
  Preconditions.checkState(initialized, "TableManager has not been initialized.");

  TableCtx ctx = tableContexts.get(tableId);
  Preconditions.checkNotNull(ctx, "Unknown tableId " + tableId);

  if (ctx.table == null) {
   ctx.table = ctx.tableProvider.getTable();
  }
  return ctx.table;
 }
}
origin: org.apache.samza/samza-core

 /**
  * Get a table instance
  * @param tableId Id of the table
  * @return table instance
  */
 public Table getTable(String tableId) {
  Preconditions.checkState(initialized, "TableManager has not been initialized.");

  TableCtx ctx = tableContexts.get(tableId);
  Preconditions.checkNotNull(ctx, "Unknown tableId " + tableId);

  if (ctx.table == null) {
   ctx.table = ctx.tableProvider.getTable();
  }
  return ctx.table;
 }
}
org.apache.samza.table.descriptorsTableProvidergetTable

Javadoc

Get an instance of the table for read/write operations

Popular methods of TableProvider

  • close
    Shutdown the underlying table
  • generateConfig
    Generate any configuration for this table, the generated configuration is used by Samza container to
  • init
    Initialize TableProvider with container and task context

Popular in Java

  • Parsing JSON documents to java classes using gson
  • notifyDataSetChanged (ArrayAdapter)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • onCreateOptionsMenu (Activity)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now