Package org.citydb.database.adapter
Class IndexStatusInfo
- java.lang.Object
-
- org.citydb.database.adapter.IndexStatusInfo
-
public class IndexStatusInfo extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IndexStatusInfo.IndexInfoObject
static class
IndexStatusInfo.IndexStatus
static class
IndexStatusInfo.IndexType
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IndexStatusInfo
createFromDatabaseQuery(java.lang.String[] query, IndexStatusInfo.IndexType type)
java.util.List<IndexStatusInfo.IndexInfoObject>
getIndexObjects()
java.util.List<IndexStatusInfo.IndexInfoObject>
getIndexObjects(IndexStatusInfo.IndexStatus status)
int
getNumberOfDroppedIndexes()
int
getNumberOfFaultyIndexes()
int
getNumberOfIndexes()
int
getNumberOfInvalidIndexes()
int
getNumberOfValidIndexes()
void
printStatusToConsole()
-
-
-
Method Detail
-
createFromDatabaseQuery
public static IndexStatusInfo createFromDatabaseQuery(java.lang.String[] query, IndexStatusInfo.IndexType type)
-
getIndexObjects
public java.util.List<IndexStatusInfo.IndexInfoObject> getIndexObjects()
-
getIndexObjects
public java.util.List<IndexStatusInfo.IndexInfoObject> getIndexObjects(IndexStatusInfo.IndexStatus status)
-
getNumberOfIndexes
public int getNumberOfIndexes()
-
getNumberOfValidIndexes
public int getNumberOfValidIndexes()
-
getNumberOfInvalidIndexes
public int getNumberOfInvalidIndexes()
-
getNumberOfDroppedIndexes
public int getNumberOfDroppedIndexes()
-
getNumberOfFaultyIndexes
public int getNumberOfFaultyIndexes()
-
printStatusToConsole
public void printStatusToConsole()
-
-