@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);
 }
Ejemplo n.º 2
0
 public void write(Id.Namespace namespaceId, DatasetSpecification instanceSpec) {
   write(getInstanceKey(namespaceId, instanceSpec.getName()), instanceSpec);
 }
Ejemplo n.º 3
0
 public PedanticTxAware(DatasetSpecification spec, @EmbeddedDataset("t") Table embedded) {
   super(spec.getName(), embedded);
 }
Ejemplo n.º 4
0
 public AssociationTable(DatasetSpecification spec, @EmbeddedDataset("word_assoc") Table table) {
   super(spec.getName(), table);
   this.table = table;
 }