@Test public void testClean() throws InvalidCreateOperationException { final BooleanQuery bq = new BooleanQuery(QUERY.AND); final MltQuery mq = new MltQuery(QUERY.MLT, "var", "val"); final InQuery iq = new InQuery(QUERY.IN, "var", true); bq.clean(); assertEquals(0, bq.getCurrentObject().size()); mq.clean(); assertEquals(0, mq.getCurrentObject().size()); iq.clean(); assertEquals(0, iq.getCurrentObject().size()); }
public void clean() { currentQuery.removeAll(); currentObject = currentQuery; currentTokenQUERY = null; ready = false; }
Query { public void clean() { currentQuery.removeAll(); currentObject = currentQuery; currentTokenQUERY = null; ready = false; } }
Query { public void clean() { currentQuery.removeAll(); currentObject = currentQuery; currentTokenQUERY = null; ready = false; } protected  Query(); }
Query { public void clean() { currentQuery.removeAll(); currentObject = currentQuery; currentTokenQUERY = null; ready = false; } protected  Query(); void clean(); final Query setExactDepthLimit(final int exactdepth); final Query setRelativeDepthLimit(final int relativedepth); final Query setDepthLimit(final int relativedepth); ObjectNode getCurrentQuery(); JsonNode getNode(String key); JsonNode getCurrentObject(); QUERY getQUERY(); boolean isReady(); Query setExtraInfo(int val); int getExtraInfo(); final boolean isFullText(); final Query setFullText(boolean isFullText); final int getParserExactdepth(); final Query setParserExactdepth(int exactdepth); final int getParserRelativeDepth(); final Query setParserRelativeDepth(int relativedepth); @Override String toString(); }
Query { public void clean() { currentQuery.removeAll(); currentObject = currentQuery; currentTokenQUERY = null; ready = false; } protected  Query(); void clean(); final Query setExactDepthLimit(final int exactdepth); final Query setRelativeDepthLimit(final int relativedepth); final Query setDepthLimit(final int relativedepth); ObjectNode getCurrentQuery(); JsonNode getNode(String key); JsonNode getCurrentObject(); QUERY getQUERY(); boolean isReady(); Query setExtraInfo(int val); int getExtraInfo(); final boolean isFullText(); final Query setFullText(boolean isFullText); final int getParserExactdepth(); final Query setParserExactdepth(int exactdepth); final int getParserRelativeDepth(); final Query setParserRelativeDepth(int relativedepth); @Override String toString(); static final String DATE; }