public class SnapshotFiles
extends java.lang.Object
Constructor and Description |
---|
SnapshotFiles(java.lang.String snapshot,
java.util.List<BlobStoreIndexShardSnapshot.FileInfo> indexFiles) |
Modifier and Type | Method and Description |
---|---|
boolean |
containPhysicalIndexFile(java.lang.String physicalName)
Returns true if this snapshot contains a file with a given original name
|
BlobStoreIndexShardSnapshot.FileInfo |
findPhysicalIndexFile(java.lang.String physicalName)
Returns information about a physical file with the given name
|
java.util.List<BlobStoreIndexShardSnapshot.FileInfo> |
indexFiles()
Returns a list of file in the snapshot
|
java.lang.String |
snapshot() |
public SnapshotFiles(java.lang.String snapshot, java.util.List<BlobStoreIndexShardSnapshot.FileInfo> indexFiles)
public java.lang.String snapshot()
public java.util.List<BlobStoreIndexShardSnapshot.FileInfo> indexFiles()
public boolean containPhysicalIndexFile(java.lang.String physicalName)
physicalName
- original file namepublic BlobStoreIndexShardSnapshot.FileInfo findPhysicalIndexFile(java.lang.String physicalName)
physicalName
- the original file name