Package co.cask.cdap.api.dataset.table

Examples of co.cask.cdap.api.dataset.table.ConflictDetection


  }

  @Override
  public OrderedTable getDataset(DatasetSpecification spec,
                                 Map<String, String> arguments, ClassLoader classLoader) {
    ConflictDetection conflictDetection =
      ConflictDetection.valueOf(spec.getProperty("conflict.level", ConflictDetection.ROW.name()));
    return new InMemoryOrderedTable(spec.getName(), conflictDetection);
  }
View Full Code Here


  }

  @Override
  public OrderedTable getDataset(DatasetSpecification spec,
                                        Map<String, String> arguments, ClassLoader classLoader) throws IOException {
    ConflictDetection conflictDetection =
      ConflictDetection.valueOf(spec.getProperty("conflict.level", ConflictDetection.ROW.name()));
    return new LevelDBOrderedTable(spec.getName(), conflictDetection, service);
  }
View Full Code Here

  }

  @Override
  public OrderedTable getDataset(DatasetSpecification spec,
                                 Map<String, String> arguments, ClassLoader classLoader) throws IOException {
    ConflictDetection conflictDetection =
      ConflictDetection.valueOf(spec.getProperty("conflict.level", ConflictDetection.ROW.name()));
    // NOTE: ttl property is applied on server-side in CPs
    // check if read-less increment operations are supported
    boolean supportsIncrements = HBaseOrderedTableAdmin.supportsReadlessIncrements(spec);
    return new HBaseOrderedTable(spec.getName(), conflictDetection, hConf, supportsIncrements);
View Full Code Here

TOP

Related Classes of co.cask.cdap.api.dataset.table.ConflictDetection

Copyright © 2018 www.massapicom. 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.