|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.indexmanagement.featureindexlibrary.commons.FileHelper
public class FileHelper
Helper class
| Constructor Summary | |
|---|---|
FileHelper()
|
|
| Method Summary | |
|---|---|
static boolean |
existsFullScanBufferFile(String storage,
String indexID)
Checks if the full scan buffer file exists |
static boolean |
existsFullScanFile(String storage,
String indexID)
Checks if the full scan file exists |
static boolean |
existsVAFApproxFile(String storage,
String indexID)
Checks if the VA approximations file exists |
static boolean |
existsVAFBufferFile(String storage,
String indexID)
Checks if the VA buffer file exists |
static boolean |
existsVAFVectorFile(String storage,
String indexID)
Checks if the VA vector file exists |
static String |
getFullScanBufferFile(String storage,
String indexID)
Retrieves the full scan buffer file |
static String |
getFullScanFile(String storage,
String indexID)
Retrieves the full scan file |
static String |
getVAFApproxFile(String storage,
String indexID)
Retrieves the VA approximation file |
static String |
getVAFBufferFile(String storage,
String indexID)
Retrieves the VA buffer file |
static String |
getVAFVectorFile(String storage,
String indexID)
Retrieves the VA vector file |
static boolean |
removeFullScanBufferFile(String storage,
String indexID)
removes the full scan file |
static boolean |
removeVAFBufferFile(String storage,
String indexID)
Removes the VA buffer file |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileHelper()
| Method Detail |
|---|
public static boolean existsFullScanFile(String storage,
String indexID)
storage - The storage locationindexID - The index id
true if it exists, false otherwise
public static boolean existsFullScanBufferFile(String storage,
String indexID)
storage - The storage locationindexID - The index id
true if it exists, false otherwise
public static String getFullScanFile(String storage,
String indexID)
storage - The storage locationindexID - The index id
public static String getFullScanBufferFile(String storage,
String indexID)
storage - The storage locationindexID - The index id
public static boolean removeFullScanBufferFile(String storage,
String indexID)
storage - The storage locationindexID - The index id
public static boolean existsVAFBufferFile(String storage,
String indexID)
storage - The storage locationindexID - The index id
true if it exists, false otherwise
public static boolean existsVAFVectorFile(String storage,
String indexID)
storage - The storage locationindexID - The index id
true if it exists, false otherwise
public static boolean existsVAFApproxFile(String storage,
String indexID)
storage - The storage locationindexID - The index id
true if it exists, false otherwise
public static String getVAFBufferFile(String storage,
String indexID)
storage - The storage locationindexID - The index id
public static String getVAFVectorFile(String storage,
String indexID)
storage - The storage locationindexID - The index id
public static String getVAFApproxFile(String storage,
String indexID)
storage - The storage locationindexID - The index id
public static boolean removeVAFBufferFile(String storage,
String indexID)
storage - The storage locationindexID - The index id
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||