public class MockTable extends Object
Constructor and Description |
---|
MockTable(MockNamespace namespace,
TimeType timeType,
String tableId,
Map<String,String> properties) |
Modifier and Type | Method and Description |
---|---|
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) |
public void addSplits(SortedSet<org.apache.hadoop.io.Text> partitionKeys)
public Collection<org.apache.hadoop.io.Text> getSplits()
public void merge(org.apache.hadoop.io.Text start, org.apache.hadoop.io.Text end)
public void setNamespaceName(String n)
public void setNamespace(MockNamespace n)
public String getNamespaceName()
public MockNamespace getNamespace()
public String getTableId()
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.