use of com.gemstone.gemfire.pdx.internal.PdxInstanceImpl in project zeppelin by apache.
the class GeodeOqlInterpreterTest method oqlPdxInstanceResponse.
@Test
public void oqlPdxInstanceResponse() throws Exception {
ByteArrayInputStream bais = new ByteArrayInputStream("koza\tboza\n".getBytes());
PdxInstance pdx1 = new PdxInstanceImpl(new PdxType(), new DataInputStream(bais), 4);
PdxInstance pdx2 = new PdxInstanceImpl(new PdxType(), new DataInputStream(bais), 4);
testOql(asIterator(pdx1, pdx2), "\n\n\n", 10);
testOql(asIterator(pdx1, pdx2), "\n\n", 1);
}
Aggregations