@Override
 public KeyStructValueTable getDataset(
     DatasetContext datasetContext,
     DatasetSpecification spec,
     Map<String, String> arguments,
     ClassLoader classLoader)
     throws IOException {
   Table table =
       tableDef.getDataset(
           datasetContext, spec.getSpecification("key-value-table"), arguments, classLoader);
   return new KeyStructValueTable(spec.getName(), table);
 }
Example #2
0
 public void write(Id.Namespace namespaceId, DatasetSpecification instanceSpec) {
   write(getInstanceKey(namespaceId, instanceSpec.getName()), instanceSpec);
 }
Example #3
0
 public PedanticTxAware(DatasetSpecification spec, @EmbeddedDataset("t") Table embedded) {
   super(spec.getName(), embedded);
 }
Example #4
0
 public AssociationTable(DatasetSpecification spec, @EmbeddedDataset("word_assoc") Table table) {
   super(spec.getName(), table);
   this.table = table;
 }