@Test public void testGet() { System.out.println("get"); System.out.println(df); System.out.println(df.get(0)); System.out.println(df.get(1)); assertEquals(48, df.getInt(0, 0)); assertEquals("Jane", df.getString(0, 3)); assertEquals(230000., df.get(0, 4)); assertEquals(23, df.getInt(1, 0)); assertEquals("Bob", df.getString(1, 3)); assertEquals(null, df.get(1, 4)); assertEquals(13, df.getInt(2, 0)); assertEquals("Amy", df.getString(2, 3)); assertEquals(null, df.get(2, 4)); assertEquals(48, df.getInt(3, 0)); assertEquals("Jane", df.getString(3, 3)); assertEquals(230000., df.get(3, 4)); }
@Override public Object get(int i, int j) { return df.get(index[i], j); }
IndexDataFrame implements DataFrame { @Override public Object get(int i, int j) { return df.get(index[i], j); } }
IndexDataFrame implements DataFrame { @Override public Object get(int i, int j) { return df.get(index[i], j); } IndexDataFrame(DataFrame df, int[] index); }
IndexDataFrame implements DataFrame { @Override public Object get(int i, int j) { return df.get(index[i], j); } IndexDataFrame(DataFrame df, int[] index); @Override StructType schema(); @Override String toString(); @Override Iterator<BaseVector> iterator(); @Override int columnIndex(String name); @Override int size(); @Override int ncols(); @Override Object get(int i, int j); @Override Stream<Tuple> stream(); @Override BaseVector column(int i); @Override Vector<T> vector(int i); @Override BooleanVector booleanVector(int i); @Override CharVector charVector(int i); @Override ByteVector byteVector(int i); @Override ShortVector shortVector(int i); @Override IntVector intVector(int i); @Override LongVector longVector(int i); @Override FloatVector floatVector(int i); @Override DoubleVector doubleVector(int i); @Override StringVector stringVector(int i); @Override DataFrame select(int... cols); @Override DataFrame drop(int... cols); @Override DataFrame merge(DataFrame... dataframes); @Override DataFrame merge(BaseVector... vectors); @Override DataFrame union(DataFrame... dataframes); @Override Tuple get(int i); }
IndexDataFrame implements DataFrame { @Override public Object get(int i, int j) { return df.get(index[i], j); } IndexDataFrame(DataFrame df, int[] index); @Override StructType schema(); @Override String toString(); @Override Iterator<BaseVector> iterator(); @Override int columnIndex(String name); @Override int size(); @Override int ncols(); @Override Object get(int i, int j); @Override Stream<Tuple> stream(); @Override BaseVector column(int i); @Override Vector<T> vector(int i); @Override BooleanVector booleanVector(int i); @Override CharVector charVector(int i); @Override ByteVector byteVector(int i); @Override ShortVector shortVector(int i); @Override IntVector intVector(int i); @Override LongVector longVector(int i); @Override FloatVector floatVector(int i); @Override DoubleVector doubleVector(int i); @Override StringVector stringVector(int i); @Override DataFrame select(int... cols); @Override DataFrame drop(int... cols); @Override DataFrame merge(DataFrame... dataframes); @Override DataFrame merge(BaseVector... vectors); @Override DataFrame union(DataFrame... dataframes); @Override Tuple get(int i);  }