Package io.fury.format.encoder
Class ArrayDataForEach
java.lang.Object
io.fury.format.encoder.ArrayDataForEach
- All Implemented Interfaces:
Expression
Expression for iterate
ArrayData with specified not null element
action expression and null element action expression.- Author:
- chaokunyang
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.fury.codegen.Expression
Expression.Add, Expression.Arithmetic, Expression.Assign, Expression.AssignArrayElem, Expression.BaseInvoke, Expression.BinaryOperator, Expression.BitAnd, Expression.BitOr, Expression.BitShift, Expression.Block, Expression.Cast, Expression.Comparator, Expression.Empty, Expression.FieldValue, Expression.ForceEvaluate, Expression.ForEach, Expression.ForLoop, Expression.If, Expression.Inlineable, Expression.Invoke, Expression.IsNull, Expression.ListExpression, Expression.ListFromIterable, Expression.Literal, Expression.LogicalAnd, Expression.LogicalOperator, Expression.NewArray, Expression.NewInstance, Expression.Not, Expression.Null, Expression.Reference, Expression.ReplaceStub, Expression.Return, Expression.SetField, Expression.StaticInvoke, Expression.Subtract, Expression.ValueExpression, Expression.While, Expression.ZipForEach -
Constructor Summary
ConstructorsConstructorDescriptionArrayDataForEach(Expression inputArrayData, com.google.common.reflect.TypeToken<?> elemType, SerializableBiFunction<Expression, Expression, Expression> notNullAction) inputArrayData.type() must be multi-dimension array or Collection, not allowed to be primitive arrayArrayDataForEach(Expression inputArrayData, com.google.common.reflect.TypeToken<?> elemType, SerializableBiFunction<Expression, Expression, Expression> notNullAction, SerializableFunction<Expression, Expression> nullAction) inputArrayData.type() must be multi-dimension array or Collection, not allowed to be primitive array -
Method Summary
Modifier and TypeMethodDescriptiondoGenCode(CodegenContext ctx) com.google.common.reflect.TypeToken<?> type()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.fury.codegen.Expression
genCode, nullable
-
Constructor Details
-
ArrayDataForEach
public ArrayDataForEach(Expression inputArrayData, com.google.common.reflect.TypeToken<?> elemType, SerializableBiFunction<Expression, Expression, Expression> notNullAction) inputArrayData.type() must be multi-dimension array or Collection, not allowed to be primitive array -
ArrayDataForEach
public ArrayDataForEach(Expression inputArrayData, com.google.common.reflect.TypeToken<?> elemType, SerializableBiFunction<Expression, Expression, Expression> notNullAction, SerializableFunction<Expression, Expression> nullAction) inputArrayData.type() must be multi-dimension array or Collection, not allowed to be primitive array
-
-
Method Details
-
type
public com.google.common.reflect.TypeToken<?> type()- Specified by:
typein interfaceExpression
-
doGenCode
- Specified by:
doGenCodein interfaceExpression
-