public class BasicTable
extends java.lang.Object
TFile.getSupportedCompressionAlgorithms()
Modifier and Type | Class and Description |
---|---|
static class |
BasicTable.Reader
BasicTable reader.
|
static class |
BasicTable.Writer
BasicTable writer.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DELETED_CG_SEPARATOR_PER_TABLE |
Modifier and Type | Method and Description |
---|---|
static void |
drop(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf)
Drop a Basic Table, all files consisting of the BasicTable will be removed.
|
static void |
dropColumnGroup(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf,
java.lang.String cgName)
Deletes the data for column group specified by cgName.
|
static void |
dumpInfo(java.lang.String file,
java.io.PrintStream out,
org.apache.hadoop.conf.Configuration conf) |
static void |
dumpInfo(java.lang.String file,
java.io.PrintStream out,
org.apache.hadoop.conf.Configuration conf,
int indent) |
static void |
main(java.lang.String[] args) |
public static final java.lang.String DELETED_CG_SEPARATOR_PER_TABLE
public static void dropColumnGroup(org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration conf, java.lang.String cgName) throws java.io.IOException
path
- path to BasicTableconf
- Configuration determines file system and other parameters.cgName
- name of the column group to drop.java.io.IOException
- IOException could occur for various reasons. E.g.
a user does not have permissions to write to table directory.public static void drop(org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration conf) throws java.io.IOException
path
- the path to the Basic Table.conf
- The configuration object.java.io.IOException
public static void dumpInfo(java.lang.String file, java.io.PrintStream out, org.apache.hadoop.conf.Configuration conf) throws java.io.IOException
java.io.IOException
public static void dumpInfo(java.lang.String file, java.io.PrintStream out, org.apache.hadoop.conf.Configuration conf, int indent) throws java.io.IOException
java.io.IOException
public static void main(java.lang.String[] args)
Copyright © 2007-2012 The Apache Software Foundation