class SqlQueryExecutionEvent extends EventAdapter {
    /** */
    private static final long serialVersionUID = 0L;

    /** Query text. */
    private final String text;

    /** Query arguments. */
    @GridToStringInclude(sensitive = true)
    private final Object[] args;

    /** Security subject ID. */
    private final UUID subjId;

    /**
     * @param node Node where event was fired.
     * @param msg Event message.
     * @param text Query text.
     * @param args Query arguments.
     * @param subjId Security subject ID.
     */
    public SqlQueryExecutionEvent(
        ClusterNode node,
        String msg,
        @Nullable String text,
        @Nullable Object[] args,
        @Nullable UUID subjId
    ) {
        super(node, msg, EVT_SQL_QUERY_EXECUTION);

        this.text = text;
        this.args = args;
        this.subjId = subjId;
    }

    /**
     * Gets query text.
     * <p>
     * Applicable for {@code SQL}, {@code SQL fields} queries.
     *
     * @return Query text.
     */
    @Nullable public String text() {
        return text;
    }

    /**
     * Gets query arguments.
     * <p>
     * Applicable for {@code SQL} and {@code SQL fields} queries.
     *
     * @return Query arguments.
     */
    @Nullable public Object[] arguments() {
        return args.clone();
    }

    /**
     * Gets security subject ID.
     *
     * @return Security subject ID.
     */
    @Nullable public UUID subjectId() {
        return subjId;
    }

    /** {@inheritDoc} */
    @Override public String toString() {<FILL_FUNCTION_BODY>}
}

        return S.toString(SqlQueryExecutionEvent.class, this,
            "nodeId8", U.id8(node().id()),
            "msg", message(),
            "type", name(),
            "tstamp", timestamp());
    
<methods>public void <init>() ,public void <init>(org.apache.ignite.cluster.ClusterNode, java.lang.String, int) ,public int compareTo(org.apache.ignite.events.Event) ,public boolean equals(java.lang.Object) ,public int hashCode() ,public org.apache.ignite.lang.IgniteUuid id() ,public long localOrder() ,public void message(java.lang.String) ,public java.lang.String message() ,public java.lang.String name() ,public void node(org.apache.ignite.cluster.ClusterNode) ,public org.apache.ignite.cluster.ClusterNode node() ,public java.lang.String shortDisplay() ,public long timestamp() ,public java.lang.String toString() ,public void type(int) ,public int type() <variables>private final org.apache.ignite.lang.IgniteUuid id,private long locId,private java.lang.String msg,private org.apache.ignite.cluster.ClusterNode node,private static final long serialVersionUID,private final long tstamp,private int type