Class LuceneMetadataInfo
java.lang.Object
com.apple.foundationdb.record.provider.foundationdb.IndexOperationResult
com.apple.foundationdb.record.lucene.LuceneMetadataInfo
Metadata information about a lucene index, in response to
LuceneGetMetadataInfo
.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Information about an individual Lucene directory. -
Constructor Summary
ConstructorsConstructorDescriptionLuceneMetadataInfo
(List<com.apple.foundationdb.record.lucene.LucenePartitionInfoProto.LucenePartitionInfo> partitionInfo, Map<Integer, LuceneMetadataInfo.LuceneInfo> luceneInfo) -
Method Summary
Modifier and TypeMethodDescriptionMap from partition id to information from lucene.List<com.apple.foundationdb.record.lucene.LucenePartitionInfoProto.LucenePartitionInfo>
List of the metadata information for a given partition, most-recent will be first.
-
Constructor Details
-
LuceneMetadataInfo
public LuceneMetadataInfo(@Nonnull List<com.apple.foundationdb.record.lucene.LucenePartitionInfoProto.LucenePartitionInfo> partitionInfo, @Nonnull Map<Integer, LuceneMetadataInfo.LuceneInfo> luceneInfo)
-
-
Method Details
-
getPartitionInfo
public List<com.apple.foundationdb.record.lucene.LucenePartitionInfoProto.LucenePartitionInfo> getPartitionInfo()List of the metadata information for a given partition, most-recent will be first.- Returns:
- the list of metadata information for all the partitions
-
getLuceneInfo
Map from partition id to information from lucene.- Returns:
- the information from lucene for all partitions, or the one partition request if that was requested
-