org.apache.accumulo.examples.simple.dirlist
Class Ingest
java.lang.Object
org.apache.accumulo.examples.simple.dirlist.Ingest
public class Ingest
- extends Object
Recursively lists the files and directories under a given path, ingests their names and file info into one Accumulo table, indexes the file names in a
separate table, and the file data into a third table. See docs/examples/README.dirlist for instructions.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LENGTH_CQ
public static final String LENGTH_CQ
- See Also:
- Constant Field Values
HIDDEN_CQ
public static final String HIDDEN_CQ
- See Also:
- Constant Field Values
EXEC_CQ
public static final String EXEC_CQ
- See Also:
- Constant Field Values
LASTMOD_CQ
public static final String LASTMOD_CQ
- See Also:
- Constant Field Values
HASH_CQ
public static final String HASH_CQ
- See Also:
- Constant Field Values
encoder
public static final TypedValueCombiner.Encoder<Long> encoder
Ingest
public Ingest()
buildMutation
public static Mutation buildMutation(ColumnVisibility cv,
String path,
boolean isDir,
boolean isHidden,
boolean canExec,
long length,
long lastmod,
String hash)
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.