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(org.drools.core.rule.IndexableConstraint indexableConstraint) |
protected void |
generateSwitchCase(org.drools.core.reteoo.AlphaNode hashedAlpha,
Object hashedValue) |
protected String |
getContextVariableName(org.drools.core.reteoo.AlphaNode alphaNode) |
protected String |
getVariableName() |
protected String |
getVariableName(org.drools.core.reteoo.AlphaNode alphaNode) |
protected String |
getVariableName(org.drools.core.reteoo.Sink sink) |
protected Class<?> |
getVariableType(org.drools.core.reteoo.AlphaNode alphaNode) |
protected Class<?> |
getVariableType(org.drools.core.reteoo.Sink sink) |
void |
nullCaseAlphaNodeEnd(org.drools.core.reteoo.AlphaNode hashedAlpha) |
void |
nullCaseAlphaNodeStart(org.drools.core.reteoo.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(org.drools.core.rule.IndexableConstraint indexableConstraint)
protected void generateSwitchCase(org.drools.core.reteoo.AlphaNode hashedAlpha,
Object hashedValue)
protected boolean canInlineValue()
public void nullCaseAlphaNodeStart(org.drools.core.reteoo.AlphaNode hashedAlpha)
nullCaseAlphaNodeStart in interface NetworkHandlernullCaseAlphaNodeStart in class NetworkHandlerAdaptorpublic void nullCaseAlphaNodeEnd(org.drools.core.reteoo.AlphaNode hashedAlpha)
nullCaseAlphaNodeEnd in interface NetworkHandlernullCaseAlphaNodeEnd in class NetworkHandlerAdaptorprotected Class<?> getVariableType(org.drools.core.reteoo.AlphaNode alphaNode)
protected Class<?> getVariableType(org.drools.core.reteoo.Sink sink)
protected String getVariableName(org.drools.core.reteoo.AlphaNode alphaNode)
protected String getContextVariableName(org.drools.core.reteoo.AlphaNode alphaNode)
protected String getVariableName(org.drools.core.reteoo.Sink sink)
protected String getVariableName()
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.