public class ExprCastNode extends ExprNodeBase
Constructor and Description |
---|
ExprCastNode(ClassDescriptor classIdentifierWArray)
Ctor.
|
accept, accept, acceptChildnodes, addChildNode, addChildNodes, addChildNodeToFront, checkValidated, checkValidatedException, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes, toEPL
public ExprCastNode(ClassDescriptor classIdentifierWArray)
classIdentifierWArray
- the the name of the type to cast topublic ExprEvaluator getExprEvaluator()
public ExprForge getForge()
public ClassDescriptor getClassIdentifierWArray()
public ExprNode validate(ExprValidationContext validationContext) throws ExprValidationException
ExprValidationException
public boolean isConstantResult()
public Class getTargetType()
public void toPrecedenceFreeEPL(StringWriter writer, ExprNodeRenderableFlags flags)
toPrecedenceFreeEPL
in class ExprNodeBase
public ExprPrecedenceEnum getPrecedence()
ExprNode
public boolean equalsNode(ExprNode node, boolean ignoreStreamPrefix)
ExprNode
Concrete implementations should compare the type and any additional information that impact the evaluation of a node.
node
- to compare toignoreStreamPrefix
- when the equals-comparison can ignore prefix of event propertiespublic static EPException handleParseException(DateFormat format, String date, Exception ex)
public static EPException handleParseException(String formatString, String date, Exception ex)
public static EPException handleParseISOException(String date, ScheduleParameterException ex)
public static SimpleDateFormat stringToSimpleDateFormatSafe(Object format)
format
- formatpublic static DateTimeFormatter stringToDateTimeFormatterSafe(Object format)
Copyright © 2005–2021. All rights reserved.