public class ReplicationTable extends Object
Modifier and Type | Field and Description |
---|---|
static String |
COMBINER_NAME |
static Table.ID |
ID |
static Map<String,Set<org.apache.hadoop.io.Text>> |
LOCALITY_GROUPS |
static String |
NAME |
static Set<org.apache.hadoop.io.Text> |
STATUS_LG_COLFAMS |
static String |
STATUS_LG_NAME |
static Set<org.apache.hadoop.io.Text> |
WORK_LG_COLFAMS |
static String |
WORK_LG_NAME |
Constructor and Description |
---|
ReplicationTable() |
Modifier and Type | Method and Description |
---|---|
static BatchScanner |
getBatchScanner(AccumuloClient client,
int queryThreads) |
static BatchWriter |
getBatchWriter(AccumuloClient client) |
static Scanner |
getScanner(AccumuloClient client) |
static boolean |
isOnline(AccumuloClient client) |
static void |
setOnline(AccumuloClient client) |
public static final Table.ID ID
public static final String NAME
public static final String COMBINER_NAME
public static final String STATUS_LG_NAME
public static final Set<org.apache.hadoop.io.Text> STATUS_LG_COLFAMS
public static final String WORK_LG_NAME
public static final Set<org.apache.hadoop.io.Text> WORK_LG_COLFAMS
public static Scanner getScanner(AccumuloClient client) throws ReplicationTableOfflineException
ReplicationTableOfflineException
public static BatchWriter getBatchWriter(AccumuloClient client) throws ReplicationTableOfflineException
ReplicationTableOfflineException
public static BatchScanner getBatchScanner(AccumuloClient client, int queryThreads) throws ReplicationTableOfflineException
ReplicationTableOfflineException
public static boolean isOnline(AccumuloClient client)
public static void setOnline(AccumuloClient client) throws AccumuloSecurityException, AccumuloException
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.