Package org.apache.maven.search.api
Class Record
java.lang.Object
org.apache.maven.search.api.Record
A search response record.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfieldSet()Returns unmodifiable set of present fields in this record, nevernull.ReturnsSearchBackend.getBackendId()of originating search backend.Returns unmodifiable map of all values keyed byFieldbacking this record.ReturnsLong, representing "last updated" timestamp as epoch millis if provided by backend.ReturnsSearchBackend.getRepositoryId()) of originating search backend.getUid()Returns UID (unique if combined withgetBackendId()) of search result record, if provided by backend.getValue(Field.BooleanField field) Returns the value belonging to given field in this record, ornullif field not present.getValue(Field.NumberField field) Returns the value belonging to given field in this record, ornullif field not present.getValue(Field.StringField field) Returns the value belonging to given field in this record, ornullif field not present.booleanReturnstrueif given field is present in this record.
- 
Field Details- 
backendId
- 
repositoryId
- 
uid
- 
lastUpdated
- 
fields
 
- 
- 
Constructor Details- 
Record
 
- 
- 
Method Details- 
getBackendIdReturnsSearchBackend.getBackendId()of originating search backend. Nevernull.
- 
getRepositoryIdReturnsSearchBackend.getRepositoryId()) of originating search backend. Nevernull.
- 
getUidReturns UID (unique if combined withgetBackendId()) of search result record, if provided by backend. May benullif not provided.
- 
getLastUpdatedReturnsLong, representing "last updated" timestamp as epoch millis if provided by backend. May benullif not provided.
- 
getFieldsReturns unmodifiable map of all values keyed byFieldbacking this record.
- 
fieldSetReturns unmodifiable set of present fields in this record, nevernull.
- 
hasFieldReturnstrueif given field is present in this record.
- 
getValueReturns the value belonging to given field in this record, ornullif field not present.
- 
getValueReturns the value belonging to given field in this record, ornullif field not present.
- 
getValueReturns the value belonging to given field in this record, ornullif field not present.
 
-