Class ReplicationTable
- java.lang.Object
-
- org.apache.accumulo.core.replication.ReplicationTable
-
public class ReplicationTable extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOMBINER_NAMEstatic TableIdIDstatic Map<String,Set<org.apache.hadoop.io.Text>>LOCALITY_GROUPSstatic StringNAMEstatic Set<org.apache.hadoop.io.Text>STATUS_LG_COLFAMSstatic StringSTATUS_LG_NAMEstatic Set<org.apache.hadoop.io.Text>WORK_LG_COLFAMSstatic StringWORK_LG_NAME
-
Constructor Summary
Constructors Constructor Description ReplicationTable()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BatchScannergetBatchScanner(AccumuloClient client, int queryThreads)static BatchWritergetBatchWriter(AccumuloClient client)static ScannergetScanner(AccumuloClient client)static booleanisOnline(AccumuloClient client)static voidsetOnline(AccumuloClient client)
-
-
-
Field Detail
-
ID
public static final TableId ID
-
NAME
public static final String NAME
-
COMBINER_NAME
public static final String COMBINER_NAME
- See Also:
- Constant Field Values
-
STATUS_LG_NAME
public static final String STATUS_LG_NAME
-
STATUS_LG_COLFAMS
public static final Set<org.apache.hadoop.io.Text> STATUS_LG_COLFAMS
-
WORK_LG_NAME
public static final String WORK_LG_NAME
-
WORK_LG_COLFAMS
public static final Set<org.apache.hadoop.io.Text> WORK_LG_COLFAMS
-
-
Method Detail
-
getScanner
public static Scanner getScanner(AccumuloClient client) throws ReplicationTableOfflineException
- Throws:
ReplicationTableOfflineException
-
getBatchWriter
public static BatchWriter getBatchWriter(AccumuloClient client) throws ReplicationTableOfflineException
- Throws:
ReplicationTableOfflineException
-
getBatchScanner
public static BatchScanner getBatchScanner(AccumuloClient client, int queryThreads) throws ReplicationTableOfflineException
- Throws:
ReplicationTableOfflineException
-
isOnline
public static boolean isOnline(AccumuloClient client)
-
setOnline
public static void setOnline(AccumuloClient client) throws AccumuloSecurityException, AccumuloException
-
-