| Modifier and Type | Field and Description |
|---|---|
static Collection<Document> |
BLOBS
The 'blobs' collection contains data from the blob store.
|
static Collection<ClusterNodeInfoDocument> |
CLUSTER_NODES
The 'clusterNodes' collection contains the list of currently running
cluster nodes.
|
static Collection<JournalEntry> |
JOURNAL
The 'journal' collection contains documents with consolidated
diffs for changes performed by a cluster node between two background
updates.
|
static Collection<NodeDocument> |
NODES
The 'nodes' collection.
|
static Collection<Document> |
SETTINGS
The 'settings' collection contains setting/state data required for DocumentNodeStore
|
| Constructor and Description |
|---|
Collection(String name) |
| Modifier and Type | Method and Description |
|---|---|
abstract T |
newDocument(DocumentStore store) |
String |
toString() |
public static final Collection<NodeDocument> NODES
Key: the path, value: the node data (possibly multiple revisions)
Old revisions are removed after some time, either by the process that removed or updated the node, lazily when reading, or in a background process.
public static final Collection<ClusterNodeInfoDocument> CLUSTER_NODES
public static final Collection<Document> SETTINGS
public static final Collection<JournalEntry> JOURNAL
public static final Collection<Document> BLOBS
newDocument(DocumentStore) always throws an
UnsupportedOperationException because blobs are not stored as
Documents.public Collection(String name)
@NotNull public abstract T newDocument(DocumentStore store)
store - the document store.Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.