Class FHIRDbResourceSize
- java.lang.Object
-
- org.linuxforhealth.fhir.schema.size.FHIRDbResourceSize
-
public class FHIRDbResourceSize extends java.lang.Object
Schema objects related to this resource type
-
-
Constructor Summary
Constructors Constructor Description FHIRDbResourceSize()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(FHIRDbSizeModelVisitor visitor, java.lang.String resourceType, long totalTableSize, long totalIndexSize)
Traverse this resource element of the FHIRDbSizeModelvoid
accumulateIndexSize(java.lang.String tableName, boolean isParamTable, java.lang.String indexName, long size)
Accumulate the size of the named index in the modelvoid
accumulateTableSize(java.lang.String tableName, boolean isParamTable, long size, long rowEstimate)
Accumulate the size of the named table in the modellong
getLogicalResourceRowEstimate()
Get the logicalResourceRowEstimatelong
getResourceRowEstimate()
Get the resourceRowEstimate
-
-
-
Method Detail
-
accumulateTableSize
public void accumulateTableSize(java.lang.String tableName, boolean isParamTable, long size, long rowEstimate)
Accumulate the size of the named table in the model- Parameters:
tableName
-isParamTable
-size
-
-
accumulateIndexSize
public void accumulateIndexSize(java.lang.String tableName, boolean isParamTable, java.lang.String indexName, long size)
Accumulate the size of the named index in the model- Parameters:
tableName
-isParamTable
-indexName
-size
-
-
accept
public void accept(FHIRDbSizeModelVisitor visitor, java.lang.String resourceType, long totalTableSize, long totalIndexSize)
Traverse this resource element of the FHIRDbSizeModel- Parameters:
visitor
-resourceType
-totalTableSize
-totalIndexSize
-
-
getLogicalResourceRowEstimate
public long getLogicalResourceRowEstimate()
Get the logicalResourceRowEstimate- Returns:
-
getResourceRowEstimate
public long getResourceRowEstimate()
Get the resourceRowEstimate- Returns:
-
-