Interface FHIRDbSizeModelVisitor

    • 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 index
      void resource​(java.lang.String resourceType, long logicalResourceRowEstimate, long resourceRowEstimate, long totalTableSize, long totalIndexSize, long rowEstimate, long resourceTableSize, long resourceIndexSize)
      Resource-level summary
      void start()
      Called once before any of the other methods
      void 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 name
        logicalResourceRowEstimate - estimate of rows in xx_logical_resources
        resourceRowEstimate - estimate of rows in xx_resources
        totalTableSize - the database level total table size
        totalIndexSize - the database level total index size
        rowEstimate - the estimated number of row across all tables for the given resource
        resourceTableSize - the resource level total table size
        resourceIndexSize - 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 -