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