org.apache.accumulo.core.client.mock
Class MockAccumulo

java.lang.Object
  extended by org.apache.accumulo.core.client.mock.MockAccumulo

public class MockAccumulo
extends Object


Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFileSystem

public org.apache.hadoop.fs.FileSystem getFileSystem()

addMutation

public void addMutation(String table,
                        Mutation m)

createBatchScanner

public BatchScanner createBatchScanner(String tableName,
                                       Authorizations authorizations)

createTable

public void createTable(String username,
                        String tableName,
                        boolean useVersions,
                        TimeType timeType)

createNamespace

public void createNamespace(String username,
                            String namespace)

addSplits

public void addSplits(String tableName,
                      SortedSet<org.apache.hadoop.io.Text> partitionKeys)

getSplits

public Collection<org.apache.hadoop.io.Text> getSplits(String tableName)

merge

public void merge(String tableName,
                  org.apache.hadoop.io.Text start,
                  org.apache.hadoop.io.Text end)


Copyright © 2015 Apache Accumulo Project. All rights reserved.