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

com.lithium.ldn.starql.models.QlBooleanConstraintNode Maven / Gradle / Ivy

There is a newer version: 2.13
Show newest version
package com.lithium.ldn.starql.models;

/**
 * Used to build a constraint tree for *QL statements. Each node will be a pair 
 * of constraints or a constraint its self. The pair will be evaluated by an AND/OR
 * operator. This allows for nesting of search constraints:
 * 
 * a AND b OR c AND d
 * 
 *         AND
 *        /   \
 *      OR     d
 *     /  \
 *   AND   b
 *  /   \
 * a     b
 * 
 * @author David Esposito
 */
public interface QlBooleanConstraintNode {

	public boolean isLeaf();
	
	public QlConstraintOperator getConstraintOperator();
	
	public QlConstraintPairOperator getConstraintPairOperator();
	
	public String getQueryString();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy