Package org.gorpipe.gor.function
Class GorRowInferFunction
- java.lang.Object
-
- org.gorpipe.gor.function.GorRowInferFunction
-
- All Implemented Interfaces:
java.io.Serializable,java.util.function.BiFunction<org.gorpipe.gor.model.Row,org.gorpipe.gor.model.Row,org.gorpipe.gor.model.Row>,java.util.function.BinaryOperator<org.gorpipe.gor.model.Row>
public class GorRowInferFunction extends java.lang.Object implements java.util.function.BinaryOperator<org.gorpipe.gor.model.Row>, java.io.SerializableFor map-reduce type inferance, such as in SparkSQL which needs a schema The gor type syntax, I for Int, D for Double and S for String Two rows with types I and S are reduced to type S etc.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GorRowInferFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.gorpipe.gor.model.Rowapply(org.gorpipe.gor.model.Row row, org.gorpipe.gor.model.Row row2)org.gorpipe.gor.model.Rowinfer(org.gorpipe.gor.model.Row row, org.gorpipe.gor.model.Row t1)
-
-
-
Method Detail
-
infer
public org.gorpipe.gor.model.Row infer(org.gorpipe.gor.model.Row row, org.gorpipe.gor.model.Row t1)
-
apply
public org.gorpipe.gor.model.Row apply(org.gorpipe.gor.model.Row row, org.gorpipe.gor.model.Row row2)- Specified by:
applyin interfacejava.util.function.BiFunction<org.gorpipe.gor.model.Row,org.gorpipe.gor.model.Row,org.gorpipe.gor.model.Row>
-
-