Package | Description |
---|---|
com.google.enterprise.connector.util.diffing |
The
diffing package provides a framework for writing
connectors to repositories that do not provide information about
added, deleted, or updated documents. |
Modifier and Type | Interface and Description |
---|---|
interface |
SnapshotRepository<T extends DocumentSnapshot>
Interface for accessing a sequence of
DocumentSnapshot
objects from a repository. |
Modifier and Type | Method and Description |
---|---|
DocumentSnapshot |
DocumentSnapshotFactory.fromString(java.lang.String stringForm)
Creates a
DocumentSnapshot from its serialized String
representation that was created by toString() . |
DocumentSnapshot |
SnapshotReader.read() |
Modifier and Type | Method and Description |
---|---|
int |
DocumentSnapshotComparator.compare(DocumentSnapshot left,
DocumentSnapshot right) |
DocumentHandle |
DocumentSnapshot.getUpdate(DocumentSnapshot onGsa)
Returns a
DocumentHandle for updating the referenced
document on the GSA or null if the document on the GSA
does not need updating. |
void |
SnapshotWriter.write(DocumentSnapshot snapshot)
Appends a record to the output stream.
|
Constructor and Description |
---|
DocumentSnapshotRepositoryMonitor(java.lang.String name,
SnapshotRepository<? extends DocumentSnapshot> query,
SnapshotStore snapshotStore,
DocumentSnapshotRepositoryMonitor.Callback callback,
DocumentSink documentSink,
MonitorCheckpoint initialCp,
DocumentSnapshotFactory documentSnapshotFactory)
Creates a DocumentSnapshotRepositoryMonitor that monitors the
Repository rooted at
root . |
DocumentSnapshotRepositoryMonitorManagerImpl(java.util.List<? extends SnapshotRepository<? extends DocumentSnapshot>> repositories,
DocumentSnapshotFactory documentSnapshotFactory,
java.io.File snapshotDir,
ChecksumGenerator checksumGenerator,
ChangeQueue changeQueue,
CheckpointAndChangeQueue checkpointAndChangeQueue)
Constructs
DocumentSnapshotRepositoryMonitorManagerImpl
for the DiffingConnector . |