Class NetricsTableCursorCompoundRecSrc

    • Constructor Detail

      • NetricsTableCursorCompoundRecSrc

        public NetricsTableCursorCompoundRecSrc​(NetricsTableCursor cursor,
                                                NetricsServerInterface host)
        Create a NetricsTableCursorCompoundRecSrc instance.
        Parameters:
        cursor - cursor underlying the record source.
        host - the cursor will traverse table(s) on this host.
    • Method Detail

      • reset

        public void reset()
        Resets the underlying cursor to the beginning.
        Specified by:
        reset in interface NetricsBaseRecSrc
      • getCount

        public java.lang.Integer getCount()
        Description copied from interface: NetricsBaseRecSrc
        Get the count of records that have been retrieved from the record source.
        Sources that don't support a count will return null.
        Specified by:
        getCount in interface NetricsBaseRecSrc
        Returns:
        The number of records that have been retrieved from the record source.
      • getPosition

        public java.lang.String getPosition()
        Obtains the current position of the underlying cursor. This position may be used to later set the cursor position using setPosition(java.lang.String).
        Returns:
        the current position of the underlying cursor.
      • setPosition

        public void setPosition​(java.lang.String position)
        Reposition the underlying cursor.
        Parameters:
        position - a cursor position. This should be a value returned by getPosition()
      • getParentTable

        public java.lang.String getParentTable()
        Specified by:
        getParentTable in interface NetricsCompoundRecSrc
        Returns:
        the parent/primary table name for the compound record.
      • getChildTables

        public java.util.List<java.lang.String> getChildTables()
        Get an unmodifiable list of child table names used. This list represents all possible child tables. A particular compound record returned may not contain child records for all of these tables.
        Specified by:
        getChildTables in interface NetricsCompoundRecSrc
        Returns:
        the list of child table names.

        Returns null if