Class SqlAttributesExtractor<REQUEST,​RESPONSE>

  • All Implemented Interfaces:
    AttributesExtractor<REQUEST,​RESPONSE>

    public abstract class SqlAttributesExtractor<REQUEST,​RESPONSE>
    extends DbAttributesExtractor<REQUEST,​RESPONSE>
    Extractor of database attributes. This class is designed with SQL (or SQL-like) database clients in mind. Aside from adding the same attributes as DbAttributesExtractor, it has two more features:
    • It sanitizes the raw SQL query and removes all parameters;
    • It enables adding the table name extracted by the sanitizer as a parameter.