java.lang.Object
org.elasticsearch.indices.recovery.plan.ShardSnapshot
-
Constructor Summary
ConstructorDescriptionShardSnapshot
(ShardSnapshotInfo shardSnapshotInfo, List<BlobStoreIndexShardSnapshot.FileInfo> snapshotFiles, Map<String, String> luceneCommitUserData, org.apache.lucene.util.Version commitLuceneVersion) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.util.Version
getSnapshotFilesMatching
(List<StoreFileMetadata> segmentFiles) long
boolean
hasDifferentPhysicalFiles
(Store.MetadataSnapshot sourceSnapshot) boolean
isLogicallyEquivalent
(String shardStateIdentifier)
-
Constructor Details
-
ShardSnapshot
public ShardSnapshot(ShardSnapshotInfo shardSnapshotInfo, List<BlobStoreIndexShardSnapshot.FileInfo> snapshotFiles, Map<String, String> luceneCommitUserData, org.apache.lucene.util.Version commitLuceneVersion)
-
-
Method Details
-
getShardStateIdentifier
-
isLogicallyEquivalent
-
hasDifferentPhysicalFiles
-
getRepository
-
getMetadataSnapshot
-
getIndexId
-
getStartedAt
public long getStartedAt() -
getShardSnapshotInfo
-
getCommitVersion
-
getCommitLuceneVersion
public org.apache.lucene.util.Version getCommitLuceneVersion() -
getSnapshotFilesMatching
public List<BlobStoreIndexShardSnapshot.FileInfo> getSnapshotFilesMatching(List<StoreFileMetadata> segmentFiles) -
getSnapshotFiles
-