Class CursorQuerySource

    • Constructor Detail

      • CursorQuerySource

        public CursorQuerySource​(com.netrics.likeit.NetricsTableCursor cursor,
                                 boolean is_compound_src,
                                 java.lang.String host_address,
                                 int host_port,
                                 QueryBuilder<KeyedNetricsRecord> query_builder)
        Create a query source from a TIBCO Patterns - Search table at a specified host and port.
        Parameters:
        cursor - The cursor to scan
        is_compound_src - set to true if this source generates compound records.
        host_address - Address (DNS name or IP Address) of the TIBCO Patterns - Search host.
        host_port - TCP port of the TIBCO Patterns Search host.
        query_builder - Defines how to build the KeyedQuery from a compound record.
      • CursorQuerySource

        public CursorQuerySource​(com.netrics.likeit.NetricsTableCursor cursor,
                                 boolean is_compound_src,
                                 com.netrics.likeit.NetricsServerInterface host,
                                 QueryBuilder<KeyedNetricsRecord> query_builder)
        Create a query source from a TIBCO Patterns - Search table read from a specified interface.
        Parameters:
        cursor - The cursor to scan
        is_compound_src - set to true if this source generates compound records.
        host - a TIBCO Patterns Search host.
        query_builder - Defines how to build the KeyedQuery from a compound record.
    • Method Detail

      • getCursor

        public com.netrics.likeit.NetricsTableCursor getCursor()
        Returns:
        the underlying cursor