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

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

public class MockTable
extends Object


Method Summary
 void addSplits(SortedSet<org.apache.hadoop.io.Text> partitionKeys)
           
 Map<String,Set<org.apache.hadoop.io.Text>> getLocalityGroups()
           
 MockNamespace getNamespace()
           
 String getNamespaceName()
           
 Collection<org.apache.hadoop.io.Text> getSplits()
           
 String getTableId()
           
 void merge(org.apache.hadoop.io.Text start, org.apache.hadoop.io.Text end)
           
 void setLocalityGroups(Map<String,Set<org.apache.hadoop.io.Text>> groups)
           
 void setNamespace(MockNamespace n)
           
 void setNamespaceName(String n)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addSplits

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

getSplits

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

setLocalityGroups

public void setLocalityGroups(Map<String,Set<org.apache.hadoop.io.Text>> groups)

getLocalityGroups

public Map<String,Set<org.apache.hadoop.io.Text>> getLocalityGroups()

merge

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

setNamespaceName

public void setNamespaceName(String n)

setNamespace

public void setNamespace(MockNamespace n)

getNamespaceName

public String getNamespaceName()

getNamespace

public MockNamespace getNamespace()

getTableId

public String getTableId()


Copyright © 2015 Apache Accumulo Project. All rights reserved.