org.apache.accumulo.test
public class TestIngest extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestIngest.Opts |
Modifier and Type | Field and Description |
---|---|
static Authorizations |
AUTHS |
Constructor and Description |
---|
TestIngest() |
Modifier and Type | Method and Description |
---|---|
static void |
createTable(Connector conn,
TestIngest.Opts args) |
static org.apache.hadoop.io.Text |
generateRow(int rowid,
int startRow) |
static byte[][] |
generateValues(int dataSize) |
static byte[] |
genRandomValue(Random random,
byte[] dest,
int seed,
int row,
int col) |
static TreeSet<org.apache.hadoop.io.Text> |
getSplitPoints(long start,
long end,
long numsplits) |
static void |
ingest(Connector connector,
TestIngest.Opts opts,
BatchWriterOpts bwOpts) |
static void |
main(String[] args) |
static void |
toPrintableChars(byte[] dest) |
public static final Authorizations AUTHS
public static void createTable(Connector conn, TestIngest.Opts args) throws AccumuloException, AccumuloSecurityException, TableExistsException
public static TreeSet<org.apache.hadoop.io.Text> getSplitPoints(long start, long end, long numsplits)
public static byte[][] generateValues(int dataSize)
public static org.apache.hadoop.io.Text generateRow(int rowid, int startRow)
public static byte[] genRandomValue(Random random, byte[] dest, int seed, int row, int col)
public static void toPrintableChars(byte[] dest)
public static void ingest(Connector connector, TestIngest.Opts opts, BatchWriterOpts bwOpts) throws IOException, AccumuloException, AccumuloSecurityException, TableNotFoundException, MutationsRejectedException, TableExistsException
Copyright © 2011–2015 The Apache Software Foundation. All rights reserved.