public class JdbcIndexDefinition.JdbcEntry extends Object implements IndexEntry
| Modifier and Type | Field and Description |
|---|---|
(package private) ResultSetMetaData |
meta |
(package private) ResultSet |
results |
(package private) String |
sql |
| Constructor and Description |
|---|
JdbcEntry(ResultSetMetaData m,
ResultSet r,
String s) |
| Modifier and Type | Method and Description |
|---|---|
String |
getIdentifier()
The identifier which can be used to retrieve this IndexEntry, and which should uniquely identify it.
|
Set<String> |
getIdentifiers() |
String |
getKey()
Key to be used for 'sub-queries', this can be the same as
IndexEntry.getIdentifier(), but this is not necessary. |
Collection<IndexDefinition> |
getSubDefinitions()
Returns a Collection of 'sub definition', probably copied from the IndexDefinition which produces this entry.
|
void |
index(org.apache.lucene.document.Document document)
Writes this index entry to a lucene
Document. |
final ResultSetMetaData meta
final ResultSet results
final String sql
JdbcEntry(ResultSetMetaData m, ResultSet r, String s)
public void index(org.apache.lucene.document.Document document)
IndexEntryDocument.
This does not consider sub-definitions. This is done by Indexer using IndexEntry.getSubDefinitions()index in interface IndexEntrypublic Collection<IndexDefinition> getSubDefinitions()
IndexEntrygetSubDefinitions in interface IndexEntrypublic String getIdentifier()
IndexEntrygetIdentifier in interface IndexEntrypublic String getKey()
IndexEntryIndexEntry.getIdentifier(), but this is not necessary.getKey in interface IndexEntryMMBase 1.9-SNAPSHOT - ${javadoctimestamp}