@Test public void testParseData() throws InvalidParseOperationException { final InsertMultiQuery insert = new InsertMultiQuery(); insert.setMult(true); insert.resetFilter(); final String data = "{'var1':1}"; insert.parseData(data); final String res = "INSERT: Requests: \n\tFilter: {}\n\tRoots: []\n\tData: {\"var1\":1}"; assertEquals(res, insert.toString()); }
public final InsertMultiQuery parseData(final String data) throws InvalidParseOperationException { GlobalDatas.sanityValueCheck(data); final JsonNode dataContent = JsonHandler.getFromString(data); return setData(dataContent); }
InsertMultiQuery extends RequestMultiple { public final InsertMultiQuery parseData(final String data) throws InvalidParseOperationException { GlobalDatas.sanityValueCheck(data); final JsonNode dataContent = JsonHandler.getFromString(data); return setData(dataContent); } }
InsertMultiQuery extends RequestMultiple { public final InsertMultiQuery parseData(final String data) throws InvalidParseOperationException { GlobalDatas.sanityValueCheck(data); final JsonNode dataContent = JsonHandler.getFromString(data); return setData(dataContent); }  }
InsertMultiQuery extends RequestMultiple { public final InsertMultiQuery parseData(final String data) throws InvalidParseOperationException { GlobalDatas.sanityValueCheck(data); final JsonNode dataContent = JsonHandler.getFromString(data); return setData(dataContent); }  final InsertMultiQuery resetData(); @Override final InsertMultiQuery reset(); final InsertMultiQuery setMult(final boolean mult); final InsertMultiQuery setMult(final JsonNode filterContent); @Override final InsertMultiQuery setFilter(final JsonNode filterContent); final InsertMultiQuery addData(final ObjectNode... data); final InsertMultiQuery setData(final JsonNode dataContent); final InsertMultiQuery parseData(final String data); final ObjectNode getFinalInsert(); @Override final ObjectNode getData(); @Override String toString(); }
InsertMultiQuery extends RequestMultiple { public final InsertMultiQuery parseData(final String data) throws InvalidParseOperationException { GlobalDatas.sanityValueCheck(data); final JsonNode dataContent = JsonHandler.getFromString(data); return setData(dataContent); }  final InsertMultiQuery resetData(); @Override final InsertMultiQuery reset(); final InsertMultiQuery setMult(final boolean mult); final InsertMultiQuery setMult(final JsonNode filterContent); @Override final InsertMultiQuery setFilter(final JsonNode filterContent); final InsertMultiQuery addData(final ObjectNode... data); final InsertMultiQuery setData(final JsonNode dataContent); final InsertMultiQuery parseData(final String data); final ObjectNode getFinalInsert(); @Override final ObjectNode getData(); @Override String toString();  }