Class SimpleQueryDef


  • public class SimpleQueryDef
    extends TextQueryDef
    Definition of a Simple query. Holds all parameters to create a Simple NetricsQuery object.
    • Constructor Detail

      • SimpleQueryDef

        public SimpleQueryDef​(java.lang.String dataSourceSpec,
                              java.util.List<ANetricsQueryBuilderBuilderBase.SimpleQueryField> fields)
        Creates a Simple query definition.
        Parameters:
        dataSourceSpec - - defines the content of the query string. Not null. Input fields can be specified using the ${dflt-input-field-name} convention.
        fields - the fields the simple query uses to query. The field names are the default output field names. Not null.
        Throws:
        java.lang.IllegalArgumentException - if fields is null or zero length or contains nulls, or if data_source_spec is null or zero length.
    • Method Detail

      • getDataSourceSpec

        public java.lang.String getDataSourceSpec()
        Returns:
        the definition of the content of the query string.