Package io.github.mfvanek.pg.model.index
Class UnusedIndex
java.lang.Object
io.github.mfvanek.pg.model.index.Index
io.github.mfvanek.pg.model.index.IndexWithSize
io.github.mfvanek.pg.model.index.UnusedIndex
- All Implemented Interfaces:
DbObject
,IndexNameAware
,IndexSizeAware
,TableNameAware
,Comparable<Index>
-
Method Summary
Methods inherited from class io.github.mfvanek.pg.model.index.IndexWithSize
getIndexSizeInBytes, innerToString, of
Methods inherited from class io.github.mfvanek.pg.model.index.Index
compareTo, equals, getIndexName, getName, getTableName, hashCode, of
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.github.mfvanek.pg.model.index.IndexNameAware
getIndexName
-
Method Details
-
getIndexScans
public long getIndexScans() -
toString
- Overrides:
toString
in classIndexWithSize
-
of
public static UnusedIndex of(@Nonnull String tableName, @Nonnull String indexName, long indexSizeInBytes, long indexScans)
-