org.teiid.translator.file
Class FileExecutionFactory
java.lang.Object
org.teiid.translator.ExecutionFactory<javax.resource.cci.ConnectionFactory,FileConnection>
org.teiid.translator.file.FileExecutionFactory
@Translator(name="file",
description="File Translator, reads contents of files or writes to them")
public class FileExecutionFactory
- extends ExecutionFactory<javax.resource.cci.ConnectionFactory,FileConnection>
Methods inherited from class org.teiid.translator.ExecutionFactory |
addPushDownFunction, closeConnection, createExecution, createResultSetExecution, createUpdateExecution, getConnection, getConnection, getDefaultNullOrder, getInstance, getLanguageFactory, getMaxDependentInPredicates, getMaxFromGroups, getMaxInCriteriaSize, getPushDownFunctions, getSupportedFunctions, getSupportedJoinCriteria, getTypeFacility, isImmutable, isSourceRequired, requiresCriteria, setImmutable, setMaxDependentInPredicates, setMaxInCriteriaSize, setRequiresCriteria, setSourceRequired, setSupportedJoinCriteria, setSupportsFullOuterJoins, setSupportsInnerJoins, setSupportsOrderBy, setSupportsOuterJoins, setSupportsSelectDistinct, start, supportsAdvancedOlapOperations, supportsAggregatesAvg, supportsAggregatesCount, supportsAggregatesCountStar, supportsAggregatesDistinct, supportsAggregatesEnhancedNumeric, supportsAggregatesMax, supportsAggregatesMin, supportsAggregatesSum, supportsAliasedTable, supportsArrayAgg, supportsBatchedUpdates, supportsBetweenCriteria, supportsBulkUpdate, supportsCaseExpressions, supportsCommonTableExpressions, supportsCompareCriteriaEquals, supportsCompareCriteriaOrdered, supportsCorrelatedSubqueries, supportsElementaryOlapOperations, supportsExcept, supportsExistsCriteria, supportsFullOuterJoins, supportsFunctionsInGroupBy, supportsGroupBy, supportsHaving, supportsInCriteria, supportsInCriteriaSubquery, supportsInlineViews, supportsInnerJoins, supportsInsertWithIterator, supportsInsertWithQueryExpression, supportsIntersect, supportsIsNullCriteria, supportsLikeCriteria, supportsLikeCriteriaEscapeCharacter, supportsLikeRegex, supportsNotCriteria, supportsOrCriteria, supportsOrderBy, supportsOrderByNullOrdering, supportsOrderByUnrelated, supportsOuterJoins, supportsQuantifiedCompareCriteriaAll, supportsQuantifiedCompareCriteriaSome, supportsRowLimit, supportsRowOffset, supportsScalarSubqueries, supportsSearchedCaseExpressions, supportsSelectDistinct, supportsSelectExpression, supportsSelfJoins, supportsSetQueryOrderBy, supportsSimilarTo, supportsUnions, supportsWindowDistinctAggregates, supportsWindowOrderByWithAggregates, useAnsiJoin |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UTIL
public static BundleUtil UTIL
GETTEXTFILES
public static final String GETTEXTFILES
- See Also:
- Constant Field Values
GETFILES
public static final String GETFILES
- See Also:
- Constant Field Values
SAVEFILE
public static final String SAVEFILE
- See Also:
- Constant Field Values
FileExecutionFactory
public FileExecutionFactory()
getEncoding
@TranslatorProperty(display="File Encoding",
advanced=true)
public String getEncoding()
setEncoding
public void setEncoding(String encoding)
isExceptionIfFileNotFound
@TranslatorProperty(display="Exception if file not found",
advanced=true)
public boolean isExceptionIfFileNotFound()
setExceptionIfFileNotFound
public void setExceptionIfFileNotFound(boolean exceptionIfFileNotFound)
createProcedureExecution
public ProcedureExecution createProcedureExecution(Call command,
ExecutionContext executionContext,
RuntimeMetadata metadata,
FileConnection fc)
throws TranslatorException
- Overrides:
createProcedureExecution
in class ExecutionFactory<javax.resource.cci.ConnectionFactory,FileConnection>
- Throws:
TranslatorException
getMetadata
public void getMetadata(MetadataFactory metadataFactory,
FileConnection connection)
throws TranslatorException
- Description copied from class:
ExecutionFactory
- Implement to provide metadata to the metadata for use by the engine. This is the
primary method of creating metadata for dynamic VDBs.
- Overrides:
getMetadata
in class ExecutionFactory<javax.resource.cci.ConnectionFactory,FileConnection>
- Throws:
TranslatorException
areLobsUsableAfterClose
public boolean areLobsUsableAfterClose()
- Description copied from class:
ExecutionFactory
- Indicates if LOBs are usable after the execution is closed.
- Overrides:
areLobsUsableAfterClose
in class ExecutionFactory<javax.resource.cci.ConnectionFactory,FileConnection>
- Returns:
- true if LOBs can be used after close
Copyright © 2011. All Rights Reserved.