Examples of InMemoryOrderedTableDefinition


Examples of co.cask.cdap.data2.dataset2.lib.table.inmemory.InMemoryOrderedTableDefinition

* Registers in-memory implementations of the basic datasets
*/
public class InMemoryOrderedTableModule implements DatasetModule {
  @Override
  public void register(DatasetDefinitionRegistry registry) {
    registry.add(new InMemoryOrderedTableDefinition("orderedTable"));
    // so that it can be resolved via @Dataset
    registry.add(new InMemoryOrderedTableDefinition(OrderedTable.class.getName()));
  }
View Full Code Here

Examples of co.cask.cdap.data2.dataset2.lib.table.inmemory.InMemoryOrderedTableDefinition

    registry.add(new CounterTimeseriesTableDefinition("counterTimeseriesTable", tableDef));
    registry.add(new CounterTimeseriesTableDefinition(CounterTimeseriesTable.class.getName(), tableDef));

    // in-memory table
    InMemoryOrderedTableDefinition inMemoryOrderedTable = new InMemoryOrderedTableDefinition("inMemoryOrderedTable");
    registry.add(new TableDefinition(MemoryTable.class.getName(), inMemoryOrderedTable));
    registry.add(new TableDefinition("memoryTable", inMemoryOrderedTable));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.