All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.n3r.eql.parser.IsNotEmptyPart Maven / Gradle / Ivy

There is a newer version: 0.1.19
Show newest version
package org.n3r.eql.parser;

import org.n3r.eql.map.EqlRun;

public class IsNotEmptyPart extends IsEmptyPart {
    public IsNotEmptyPart(String expr, MultiPart multiPart, MultiPart elsePart) {
        super(expr, multiPart, elsePart);
    }

    @Override
    public String evalSql(EqlRun eqlRun) {
        return (!isEmpty(eqlRun) ? multiPart : elsePart).evalSql(eqlRun);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy