com.avaje.ebeaninternal.api.SpiExpressionList Maven / Gradle / Ivy
package com.avaje.ebeaninternal.api;
import com.avaje.ebean.ExpressionList;
import com.avaje.ebean.Junction;
import com.avaje.ebeaninternal.server.expression.DocQueryContext;
import java.io.IOException;
import java.util.List;
/**
* Internal extension of ExpressionList.
*/
public interface SpiExpressionList extends ExpressionList, SpiExpression {
/**
* Return the expression list as a Junction (for ElasticSearch).
*/
Junction toJunction();
/**
* Return the underlying list of expressions.
*/
List getUnderlyingList();
/**
* Return a copy of the ExpressionList with the path trimmed for filterMany() expressions.
*/
SpiExpressionList> trimPath(int prefixTrim);
/**
* Return true if this list is empty.
*/
boolean isEmpty();
/**
* Write the top level where expressions taking into account possible extra idEquals expression.
*/
void writeDocQuery(DocQueryContext context, SpiExpression idEquals) throws IOException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy