org.apache.accumulo.core.client.mock
public class MockAccumulo extends Object
Modifier and Type | Method and Description |
---|---|
void |
addMutation(String table,
Mutation m) |
void |
addSplits(String tableName,
SortedSet<org.apache.hadoop.io.Text> partitionKeys) |
BatchScanner |
createBatchScanner(String tableName,
Authorizations authorizations) |
void |
createNamespace(String username,
String namespace) |
void |
createTable(String username,
String tableName,
boolean useVersions,
TimeType timeType) |
org.apache.hadoop.fs.FileSystem |
getFileSystem() |
Collection<org.apache.hadoop.io.Text> |
getSplits(String tableName) |
void |
merge(String tableName,
org.apache.hadoop.io.Text start,
org.apache.hadoop.io.Text end) |
public org.apache.hadoop.fs.FileSystem getFileSystem()
public BatchScanner createBatchScanner(String tableName, Authorizations authorizations)
public void createTable(String username, String tableName, boolean useVersions, TimeType timeType)
public void addSplits(String tableName, SortedSet<org.apache.hadoop.io.Text> partitionKeys)
public Collection<org.apache.hadoop.io.Text> getSplits(String tableName)
public void merge(String tableName, org.apache.hadoop.io.Text start, org.apache.hadoop.io.Text end)
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.