public abstract class ContextControllerHashFactoryBase extends ContextControllerFactoryBase implements ContextControllerFactory
Modifier and Type | Class and Description |
---|---|
static class |
ContextControllerHashFactoryBase.HashFunctionEnum |
factoryContext
Constructor and Description |
---|
ContextControllerHashFactoryBase(ContextControllerFactoryContext factoryContext,
ContextDetailHash hashedSpec,
List<FilterSpecCompiled> filtersSpecsNestedContexts) |
getFactoryContext, getStateCache
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createNoCallback, getFactoryContext, getStateCache
public ContextControllerHashFactoryBase(ContextControllerFactoryContext factoryContext, ContextDetailHash hashedSpec, List<FilterSpecCompiled> filtersSpecsNestedContexts)
public boolean hasFiltersSpecsNestedContexts()
public void validateFactory() throws ExprValidationException
validateFactory
in interface ContextControllerFactory
ExprValidationException
public ContextControllerStatementCtxCache validateStatement(ContextControllerStatementBase statement) throws ExprValidationException
validateStatement
in interface ContextControllerFactory
ExprValidationException
public void populateFilterAddendums(IdentityHashMap<FilterSpecCompiled,FilterValueSetParam[][]> filterAddendum, ContextControllerStatementDesc statement, Object key, int contextId)
populateFilterAddendums
in interface ContextControllerFactory
public void populateContextInternalFilterAddendums(ContextInternalFilterAddendum filterAddendum, Object key)
public FilterSpecLookupable getFilterLookupable(EventType eventType)
getFilterLookupable
in interface ContextControllerFactory
public boolean isSingleInstanceContext()
isSingleInstanceContext
in interface ContextControllerFactory
public StatementAIResourceRegistryFactory getStatementAIResourceRegistryFactory()
getStatementAIResourceRegistryFactory
in interface ContextControllerFactory
public List<ContextDetailPartitionItem> getContextDetailPartitionItems()
getContextDetailPartitionItems
in interface ContextControllerFactory
public ContextDetail getContextDetail()
getContextDetail
in interface ContextControllerFactory
public ContextDetailHash getHashedSpec()
public Map<String,Object> getContextBuiltinProps()
getContextBuiltinProps
in interface ContextControllerFactory
public ContextPartitionIdentifier keyPayloadToIdentifier(Object payload)
keyPayloadToIdentifier
in interface ContextControllerFactory
public static void getAddendumFilters(IdentityHashMap<FilterSpecCompiled,FilterValueSetParam[][]> addendums, int hashCode, List<FilterSpecCompiled> filtersSpecs, ContextDetailHash hashSpec, ContextControllerStatementDesc statementDesc)
public static FilterValueSetParam[][] getAddendumFilters(FilterSpecCompiled filterSpecCompiled, int hashCode, ContextDetailHash hashSpec, ContextControllerStatementDesc statementDesc)
public static ContextDetailHashItem findHashItemSpec(ContextDetailHash hashSpec, FilterSpecCompiled filterSpec)