Package | Description |
---|---|
org.apache.solr.update |
APIs and classes for managing index updates
|
Modifier and Type | Class and Description |
---|---|
class |
CdcrTransactionLog
Extends
TransactionLog to:
reopen automatically the output stream if its reference count reached 0. |
class |
HdfsTransactionLog
Log Format: List{Operation, Version, ...}
ADD, VERSION, DOC
DELETE, VERSION, ID_BYTES
DELETE_BY_QUERY, VERSION, String
TODO: keep two files, one for [operation, version, id] and the other for the actual
document data.
|
Modifier and Type | Field and Description |
---|---|
protected TransactionLog |
UpdateLog.bufferTlog |
protected TransactionLog |
UpdateLog.prevMapLog |
protected TransactionLog |
UpdateLog.prevMapLog2 |
protected TransactionLog |
UpdateLog.prevTlog |
protected TransactionLog |
UpdateLog.prevTlogOnPrecommit |
protected TransactionLog |
UpdateLog.tlog |
Modifier and Type | Field and Description |
---|---|
protected Deque<TransactionLog> |
UpdateLog.logs |
protected LinkedList<TransactionLog> |
UpdateLog.newestLogsOnStartup |
Modifier and Type | Method and Description |
---|---|
TransactionLog |
UpdateLog.newTransactionLog(File tlogFile,
Collection<String> globalStrings,
boolean openExisting)
Returns a new
TransactionLog . |
TransactionLog |
CdcrUpdateLog.newTransactionLog(File tlogFile,
Collection<String> globalStrings,
boolean openExisting) |
Modifier and Type | Method and Description |
---|---|
protected void |
UpdateLog.addOldLog(TransactionLog oldLog,
boolean removeOld) |
protected void |
CdcrUpdateLog.addOldLog(TransactionLog oldLog,
boolean removeOld) |
void |
UpdateLog.copyOverOldUpdates(long commitVersion,
TransactionLog oldTlog)
Copy over updates from prevTlog or last tlog (in tlog folder) to a new tlog
|
Constructor and Description |
---|
RecentUpdates(Deque<TransactionLog> logList) |
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.