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) |
void |
createTable(String username,
String tableName,
boolean useVersions,
TimeType timeType,
Map<String,String> properties) |
void |
createTable(String username,
String tableName,
TimeType timeType,
Map<String,String> properties) |
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 createTable(String username, String tableName, boolean useVersions, TimeType timeType, Map<String,String> properties)
public void createTable(String username, String tableName, TimeType timeType, Map<String,String> properties)
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–2018 The Apache Software Foundation. All rights reserved.