public class DumpLexicon extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
DumpLexicon() |
| Modifier and Type | Method and Description |
|---|---|
static void |
dump(AbstractTripleStore store,
Writer w,
boolean showBlobs)
Dumps the lexicon in a variety of ways.
|
static Appendable |
dump(LexiconRelation r)
Dump the lexicon.
|
static Appendable |
dumpBlobs(String namespace,
IIndex ndx)
Dump the BLOBS index.
|
static void |
dumpBlobs(Writer w,
boolean showEntries,
String namespace,
IIndex ndx)
Core implementation for dumping the BLOBS index.
|
static void |
main(String[] args) |
protected static IIndexManager |
openIndexManager(String propertyFile)
Open the
IIndexManager identified by the property file. |
protected static void |
usage() |
protected static void usage()
protected static IIndexManager openIndexManager(String propertyFile)
IIndexManager identified by the property file.propertyFile - The property file (for a standalone bigdata instance) or the
jini configuration file (for a bigdata federation). The file
must end with either ".properties" or ".config".
Starting with 1.5.2 the remote dump lexicon capability
was moved into the bigdata-jini artifact. See BLZG-1370.IIndexManager.public static void main(String[] args)
args - (-tuples) <namespace> <filename> LexiconRelation. Use kb.lex if you have
not overridden the namespace of the
AbstractTripleStore. public static void dump(AbstractTripleStore store, Writer w, boolean showBlobs)
store - public static Appendable dump(LexiconRelation r)
r - The lexicon relation.public static Appendable dumpBlobs(String namespace, IIndex ndx)
namespace - ndx - public static void dumpBlobs(Writer w, boolean showEntries, String namespace, IIndex ndx)
w - Where to write the data.showEntries - When true the individual entries in the TERMS
index will be reported. When false only metadata
about the scanned entries will be reported.namespace - The namespace of the LexiconRelation.ndx - The BLOBS index for that LexiconRelation.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.