public abstract class SwitchCompilerHandler extends NetworkHandlerAdaptor
| Modifier and Type | Field and Description |
|---|---|
protected StringBuilder |
builder |
protected static String |
FACT_HANDLE_PARAM_TYPE |
protected static String |
MODIFY_PREVIOUS_TUPLE_NAME |
protected static String |
MODIFY_PREVIOUS_TUPLE_PARAM_NAME |
protected static String |
NEWLINE |
protected static String |
PROP_CONTEXT_PARAM_TYPE |
protected static String |
WORKING_MEMORY_PARAM_TYPE |
| Modifier | Constructor and Description |
|---|---|
protected |
SwitchCompilerHandler(StringBuilder builder) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canInlineValue() |
protected void |
generateSwitch(IndexableConstraint indexableConstraint) |
protected void |
generateSwitchCase(AlphaNode hashedAlpha,
Object hashedValue) |
protected String |
getContextVariableName(AlphaNode alphaNode) |
protected String |
getVariableName() |
protected String |
getVariableName(AlphaNode alphaNode) |
protected String |
getVariableName(Sink sink) |
protected Class<?> |
getVariableType(AlphaNode alphaNode) |
protected Class<?> |
getVariableType(Sink sink) |
void |
nullCaseAlphaNodeEnd(AlphaNode hashedAlpha) |
void |
nullCaseAlphaNodeStart(AlphaNode hashedAlpha) |
endBetaNode, endHashedAlphaNode, endHashedAlphaNodes, endNonHashedAlphaNode, endObjectTypeNode, endWindowNode, endWindowNode, startBetaNode, startHashedAlphaNode, startHashedAlphaNodes, startLeftInputAdapterNode, startNonHashedAlphaNode, startObjectTypeNode, startWindowNodeprotected static final String MODIFY_PREVIOUS_TUPLE_NAME
protected static final String MODIFY_PREVIOUS_TUPLE_PARAM_NAME
protected final StringBuilder builder
protected static final String FACT_HANDLE_PARAM_TYPE
protected static final String PROP_CONTEXT_PARAM_TYPE
protected static final String WORKING_MEMORY_PARAM_TYPE
protected static final String NEWLINE
protected SwitchCompilerHandler(StringBuilder builder)
protected void generateSwitch(IndexableConstraint indexableConstraint)
protected boolean canInlineValue()
public void nullCaseAlphaNodeStart(AlphaNode hashedAlpha)
nullCaseAlphaNodeStart in interface NetworkHandlernullCaseAlphaNodeStart in class NetworkHandlerAdaptorpublic void nullCaseAlphaNodeEnd(AlphaNode hashedAlpha)
nullCaseAlphaNodeEnd in interface NetworkHandlernullCaseAlphaNodeEnd in class NetworkHandlerAdaptorprotected String getVariableName()
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.