Interface FHIRDbSizeModelVisitor
-
- All Known Implementing Classes:
FHIRDbIndexDetailWriter
,FHIRDbParameterSummary
,FHIRDbTableDetailWriter
,ReadableSizeReport
public interface FHIRDbSizeModelVisitor
A visitor used to traverse the FHIRDbSizeModel elements
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
index(java.lang.String resourceType, java.lang.String tableName, java.lang.String indexName, long indexSize)
The size of an indexvoid
resource(java.lang.String resourceType, long logicalResourceRowEstimate, long resourceRowEstimate, long totalTableSize, long totalIndexSize, long rowEstimate, long resourceTableSize, long resourceIndexSize)
Resource-level summaryvoid
start()
Called once before any of the other methodsvoid
table(java.lang.String resourceType, java.lang.String tableName, boolean isParameter, long rowEstimate, long tableSize, long allIndexSize)
The size of a table
-
-
-
Method Detail
-
start
void start()
Called once before any of the other methods
-
resource
void resource(java.lang.String resourceType, long logicalResourceRowEstimate, long resourceRowEstimate, long totalTableSize, long totalIndexSize, long rowEstimate, long resourceTableSize, long resourceIndexSize)
Resource-level summary- Parameters:
resourceType
- the FHIR resource type namelogicalResourceRowEstimate
- estimate of rows in xx_logical_resourcesresourceRowEstimate
- estimate of rows in xx_resourcestotalTableSize
- the database level total table sizetotalIndexSize
- the database level total index sizerowEstimate
- the estimated number of row across all tables for the given resourceresourceTableSize
- the resource level total table sizeresourceIndexSize
- the resource level total index size
-
table
void table(java.lang.String resourceType, java.lang.String tableName, boolean isParameter, long rowEstimate, long tableSize, long allIndexSize)
The size of a table- Parameters:
resourceType
-tableName
-rowEstimate
-tableSize
-allIndexSize
-
-
index
void index(java.lang.String resourceType, java.lang.String tableName, java.lang.String indexName, long indexSize)
The size of an index- Parameters:
resourceType
-tableName
-indexName
-indexSize
-
-
-