@Override public DDF transformScaleMinMax() throws DDFException { return mTransformationHandler.transformScaleMinMax(); }
@Override public DDF flattenDDF() { return flattenDDF(null); }
@Override public DDF transformPython(String[] transformFunctions, String[] destColumns, String[][] sourceColumns) { return mTransformationHandler.transformPython(transformFunctions, destColumns, sourceColumns); }
public static String RToSqlUdf(List<String> RExp) { return RToSqlUdf(RExp, null, null); }
public SqlResult sqlHandle(String command, Integer maxRows, DataSourceDescriptor dataSource) throws DDFException { return this.sqlHandle(command, maxRows, dataSource, new TableNameReplacer(this.getManager(), dataSource)); }
public DDF sql2ddfHandle(String command, Schema schema, DataSourceDescriptor dataSource, DataFormat dataFormat) throws DDFException { return sql2ddfHandle(command, schema, dataSource, dataFormat, new TableNameReplacer(this.getManager(), dataSource)); } public DDF sql2ddfHandle(String command,
public DDF fillNA(String value) throws DDFException { return this.getMissingDataHandler().fillNA(value, null, 0, null, null, null); }
public DDF dropNA(Axis pattern) throws DDFException { return this.getMissingDataHandler().dropNA(pattern, NAChecking.ANY, 0, null); }
@Test public void testEnums() { Assert.assertEquals(Axis.COLUMN, Axis.fromString("column")); Assert.assertEquals(NAChecking.ALL, NAChecking.fromString("all")); Assert.assertTrue(Axis.fromString("column") == Axis.COLUMN); }
public DDF transformUDF(List<String> RExps) throws DDFException { return transformUDF(RExps, null); }
public DDF getFlattenedDDF(String[] columns) throws DDFException { return this.getTransformationHandler().flattenDDF(columns); } public DDF getFlattenedDDF() throws DDFException {
@Override public DDF transformMapReduceNative(String mapFuncDef, String reduceFuncDef, boolean mapsideCombine) { return mTransformationHandler.transformMapReduceNative(mapFuncDef, reduceFuncDef, mapsideCombine); }
@Override public DDF transformNativeRserve(String transformExpression) { return mTransformationHandler.transformNativeRserve(transformExpression); }
@Override public DDF transformScaleStandard() throws DDFException { return mTransformationHandler.transformScaleStandard(); }
@Override public DDF transformUDF(List<String> transformExpressions, List<String> columns) throws DDFException { return mTransformationHandler.transformUDF(transformExpressions, columns); }
public DDF join(DDF anotherDDF, JoinType joinType, List<String> byColumns, List<String> byLeftColumns, List<String> byRightColumns) throws DDFException { return this.getJoinsHandler().join(anotherDDF, joinType, byColumns, byLeftColumns, byRightColumns); }
@Override public SqlResult sql(String command, Integer maxRows, DataSourceDescriptor dataSource) throws DDFException { return this.getDummyDDF().getSqlHandler(). sqlHandle(command, maxRows, dataSource); }
public DDF transformUDF(String RExprs, List<String> columns) throws DDFException { List<String> expressions = Arrays.asList(RExprs); return this.transformUDF(expressions, columns); }
public DDF getFlattenedDDF() throws DDFException { return this.getTransformationHandler().flattenDDF(); }
public DDF transformUDF(String RExp) throws DDFException { List<String> expressions = Arrays.asList(RExp); return this.transformUDF(expressions); }