Package com.ibm.fhir.schema.size
Class FHIRDbParameterSummary
- java.lang.Object
-
- com.ibm.fhir.schema.size.FHIRDbParameterSummary
-
- All Implemented Interfaces:
FHIRDbSizeModelVisitor
public class FHIRDbParameterSummary extends java.lang.Object implements FHIRDbSizeModelVisitor
Collect a summary of size information for each parameter table
-
-
Constructor Summary
Constructors Constructor Description FHIRDbParameterSummary(ISizeReport report)Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidindex(java.lang.String resourceType, java.lang.String tableName, java.lang.String indexName, long indexSize)The size of an indexvoidrender(long totalTableSize, long totalIndexSize)Render the parameter type summary data that has been accumulated.voidresource(java.lang.String resourceType, long logicalResourceRowEstimate, long resourceRowEstimate, long totalTableSize, long totalIndexSize, long rowEstimate, long resourceTableSize, long resourceIndexSize)Resource-level summaryvoidstart()Called once before any of the other methodsvoidtable(java.lang.String resourceType, java.lang.String parameterTable, boolean isParameterTable, long rowEstimate, long paramTableSize, long paramIndexSize)The size of a table
-
-
-
Constructor Detail
-
FHIRDbParameterSummary
public FHIRDbParameterSummary(ISizeReport report)
Public constructor- Parameters:
output-
-
-
Method Detail
-
start
public void start()
Description copied from interface:FHIRDbSizeModelVisitorCalled once before any of the other methods- Specified by:
startin interfaceFHIRDbSizeModelVisitor
-
resource
public void resource(java.lang.String resourceType, long logicalResourceRowEstimate, long resourceRowEstimate, long totalTableSize, long totalIndexSize, long rowEstimate, long resourceTableSize, long resourceIndexSize)Description copied from interface:FHIRDbSizeModelVisitorResource-level summary- Specified by:
resourcein interfaceFHIRDbSizeModelVisitor- 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
public void table(java.lang.String resourceType, java.lang.String parameterTable, boolean isParameterTable, long rowEstimate, long paramTableSize, long paramIndexSize)Description copied from interface:FHIRDbSizeModelVisitorThe size of a table- Specified by:
tablein interfaceFHIRDbSizeModelVisitor
-
render
public void render(long totalTableSize, long totalIndexSize)Render the parameter type summary data that has been accumulated.- Parameters:
totalTableSize-totalIndexSize-
-
index
public void index(java.lang.String resourceType, java.lang.String tableName, java.lang.String indexName, long indexSize)Description copied from interface:FHIRDbSizeModelVisitorThe size of an index- Specified by:
indexin interfaceFHIRDbSizeModelVisitor
-
-