Package io.github.mfvanek.pg.model
Class UnusedIndex
- java.lang.Object
-
- io.github.mfvanek.pg.model.Index
-
- io.github.mfvanek.pg.model.IndexWithSize
-
- io.github.mfvanek.pg.model.UnusedIndex
-
- All Implemented Interfaces:
IndexNameAware
,IndexSizeAware
,TableNameAware
public final class UnusedIndex extends IndexWithSize
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
long
getIndexScans()
int
hashCode()
static UnusedIndex
of(java.lang.String tableName, java.lang.String indexName, long indexSizeInBytes, long indexScans)
java.lang.String
toString()
-
Methods inherited from class io.github.mfvanek.pg.model.IndexWithSize
getIndexSizeInBytes, innerToString, of
-
Methods inherited from class io.github.mfvanek.pg.model.Index
getIndexName, getTableName, of
-
-
-
-
Method Detail
-
getIndexScans
public long getIndexScans()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classIndexWithSize
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classIndexWithSize
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classIndexWithSize
-
of
public static UnusedIndex of(@Nonnull java.lang.String tableName, @Nonnull java.lang.String indexName, long indexSizeInBytes, long indexScans)
-
-