@Translator(name="olap", description="A translator for OLAP Cubes") public class OlapExecutionFactory extends ExecutionFactory<DataSource,Connection>
ExecutionFactory.Format, ExecutionFactory.NullOrder, ExecutionFactory.SupportedJoinCriteria
DEFAULT_MAX_FROM_GROUPS, DEFAULT_MAX_IN_CRITERIA_SIZE
Constructor and Description |
---|
OlapExecutionFactory() |
Modifier and Type | Method and Description |
---|---|
void |
closeConnection(Connection connection,
DataSource factory)
Closes a connection object from the given connection factory.
|
ProcedureExecution |
createProcedureExecution(Call command,
ExecutionContext executionContext,
RuntimeMetadata metadata,
Connection connection) |
Connection |
getConnection(DataSource ds)
Return a connection object from the given connection factory.
|
void |
getMetadata(MetadataFactory metadataFactory,
Connection conn)
Implement to provide metadata to the metadata for use by the engine.
|
addPushDownFunction, areLobsUsableAfterClose, createExecution, createResultSetExecution, createUpdateExecution, getConnection, getDefaultNullOrder, getInstance, getLanguageFactory, getMaxDependentInPredicates, getMaxFromGroups, getMaxInCriteriaSize, getPushDownFunctions, getSupportedFunctions, getSupportedJoinCriteria, getTypeFacility, isCopyLobs, isImmutable, isSourceRequired, requiresCriteria, setCopyLobs, setImmutable, setMaxDependentInPredicates, setMaxInCriteriaSize, setRequiresCriteria, setSourceRequired, setSupportedJoinCriteria, setSupportsFullOuterJoins, setSupportsInnerJoins, setSupportsOrderBy, setSupportsOuterJoins, setSupportsSelectDistinct, start, supportsAdvancedOlapOperations, supportsAggregatesAvg, supportsAggregatesCount, supportsAggregatesCountStar, supportsAggregatesDistinct, supportsAggregatesEnhancedNumeric, supportsAggregatesMax, supportsAggregatesMin, supportsAggregatesSum, supportsAliasedTable, supportsArrayAgg, supportsBatchedUpdates, supportsBulkUpdate, supportsCommonTableExpressions, supportsCompareCriteriaEquals, supportsCompareCriteriaOrdered, supportsConvert, supportsCorrelatedSubqueries, supportsDependentJoins, supportsElementaryOlapOperations, supportsExcept, supportsExistsCriteria, supportsFormatLiteral, supportsFullOuterJoins, supportsFunctionsInGroupBy, supportsGroupBy, supportsHaving, supportsInCriteria, supportsInCriteriaSubquery, supportsInlineViews, supportsInnerJoins, supportsInsertWithQueryExpression, supportsIntersect, supportsIsNullCriteria, supportsLikeCriteria, supportsLikeCriteriaEscapeCharacter, supportsLikeRegex, supportsNotCriteria, supportsOnlyFormatLiterals, supportsOnlyLiteralComparison, supportsOnlySingleTableGroupBy, supportsOrCriteria, supportsOrderBy, supportsOrderByNullOrdering, supportsOrderByUnrelated, supportsOuterJoins, supportsQuantifiedCompareCriteriaAll, supportsQuantifiedCompareCriteriaSome, supportsRowLimit, supportsRowOffset, supportsScalarSubqueries, supportsSearchedCaseExpressions, supportsSelectDistinct, supportsSelectExpression, supportsSelfJoins, supportsSetQueryOrderBy, supportsSimilarTo, supportsUnions, supportsWindowDistinctAggregates, supportsWindowOrderByWithAggregates, useAnsiJoin
public void getMetadata(MetadataFactory metadataFactory, Connection conn) throws TranslatorException
ExecutionFactory
getMetadata
in class ExecutionFactory<DataSource,Connection>
TranslatorException
public ProcedureExecution createProcedureExecution(Call command, ExecutionContext executionContext, RuntimeMetadata metadata, Connection connection) throws TranslatorException
createProcedureExecution
in class ExecutionFactory<DataSource,Connection>
TranslatorException
public Connection getConnection(DataSource ds) throws TranslatorException
ExecutionFactory
ConnectionFactory
. Subclasses should override, if they use
another type of connection factory.getConnection
in class ExecutionFactory<DataSource,Connection>
TranslatorException
ExecutionFactory.getConnection(Object, ExecutionContext)
public void closeConnection(Connection connection, DataSource factory)
ExecutionFactory
Connection
. Subclasses should override, if they use
another type of connection.closeConnection
in class ExecutionFactory<DataSource,Connection>
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.