Uses of Class
org.eclipse.persistence.jpa.jpql.parser.ExpressionFactory
-
Packages that use ExpressionFactory Package Description org.eclipse.persistence.jpa.jpql.parser This is the core of Hermes, this package contains the classes that can parse a JPQL query. -
-
Uses of ExpressionFactory in org.eclipse.persistence.jpa.jpql.parser
Subclasses of ExpressionFactory in org.eclipse.persistence.jpa.jpql.parser Modifier and Type Class Description classAbsExpressionFactoryThisAbsExpressionFactorycreates a newAbsExpressionwhen the portion of the query to parse starts with ABS.classAbstractLiteralExpressionFactoryThis factory is responsible to return the right literal expression.classAbstractSchemaNameFactoryThisAbstractSchemaNameFactorycreates a newAbstractSchemaName.classAllOrAnyExpressionFactoryThisAllOrAnyExpressionFactorycreates a newAllOrAnyExpressionwhen the portion of the query to parse starts with ALL, ANY or SOME.classAndExpressionFactoryThisAndExpressioncreates a newAdditionExpressionwhen the portion of the query to parse starts with AND.classArithmeticExpressionFactoryThisExpressionFactorycreates a new expression when the portion of the query to parse starts with an arithmetic identifier.classAsOfClauseFactoryThisAsOfClauseFactorycreates a newAsOfClausewhen the portion of the JPQL query to parse starts with AS OF.classAvgFunctionFactoryThisAvgFunctionFactorycreates a newAvgFunctionwhen the portion of the query to parse starts with AVG.classBadExpressionFactoryThisBadExpressionFactorycreates a newBadExpressionwhen the portion of the query to parse is malformed.classBetweenExpressionFactoryThisBetweenExpressionFactorycreates a newBetweenExpressionwhen the portion of the query to parse starts with BETWEEN or NOT BETWEEN.classCaseExpressionFactoryThisCaseExpressionFactorycreates a newCaseExpressionwhen the portion of the query to parse starts with CASE.classCastExpressionFactoryThisCastExpressionFactorycreates a newCastExpressionwhen the portion of the query to parse starts with CAST.classCoalesceExpressionFactoryThisCoalesceExpressionFactorycreates a newCoalesceExpressionwhen the portion of the query to parse starts with COALESCE.classCollectionMemberDeclarationFactoryThisCollectionMemberDeclarationFactorycreates a newCollectionMemberDeclarationwhen the portion of the query to parse starts with IN.classCollectionMemberExpressionFactoryThisCollectionMemberExpressionFactorycreates a newCollectionMemberExpressionwhen the portion of the query to parse starts with MEMBER, MEMBER OF, NOT MEMBER or NOT MEMBER OF.classCollectionValuedPathExpressionFactoryclassComparisonExpressionFactoryThisComparisonExpressionFactorycreates a newComparisonExpressionwhen the portion of the query to parse starts with <, >, <>, <=, >= or =.classConcatExpressionFactoryThisConcatExpressionFactorycreates a newConcatExpressionwhen the portion of the query to parse starts with CONCAT.classConnectByClauseFactoryThisConnectByClauseFactorycreates a newConnectByClausewhen the portion of the query to parse starts with CONNECT BY.classConstructorExpressionFactoryThisConstructorExpressionFactorycreates a newConstructorExpressionwhen the portion of the query to parse starts with NEW.classCountFunctionFactoryThisCountFunctionFactorycreates a newCountFunctionwhen the portion of the query to parse starts with COUNT.classDatabaseTypeFactoryclassDateTimeFactoryThisDateTimeFactorycreates a newDateTimewhen the portion of the query to parse starts with CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP or with the JDBC escape format used for date/time/timestamp.classDeleteClauseFactoryThisDeleteClauseFactorycreates a newDeleteClausewhen the portion of the query to parse starts with DELETE FROM.classDeleteStatementFactoryThisDeleteStatementFactorycreates a newDeleteStatementwhen the portion of the query to parse starts with DELETE FROM.classEntityTypeLiteralFactoryThis factory creates anEntityTypeLiteral, which wraps an entity name.classEntryExpressionFactoryThisEntryExpressionFactorycreates a newEntryExpressionwhen the portion of the query to parse starts with ENTRY.classExistsExpressionFactoryThisExistsExpressionFactorycreates a newExistsExpressionwhen the portion of the query to parse starts with EXISTS.classExtractExpressionFactoryThisExtractExpressionFactorycreates a newExtractExpressionwhen the portion of the query to parse starts with EXTRACT.classFromClauseFactoryThisFromClauseFactorycreates a newFromClausewhen the portion of the query to parse starts with FROM.classFunctionExpressionFactoryThisFunctionExpressionFactorycreates a newFunctionExpressionwhen the portion of the query to parse starts with an identifier related to a SQL function.classGeneralIdentificationExpressionFactoryThisValueExpressionFactorycreates a general identification variable, which is either with the identifier KEY or VALUE and then checks the existence of a path expression.classGroupByClauseFactoryThisGroupByClauseFactorycreates a newGroupByClausewhen the portion of the query to parse starts with GROUP BY.classGroupByItemFactoryThisGroupByItemFactoryis responsible to return the right expression and to support invalid expression as well.classHavingClauseFactoryThisHavingClauseFactorycreates a newHavingClausewhen the portion of the query to parse starts with HAVING.classHierarchicalQueryClauseFactoryThisHierarchicalQueryClauseFactorycreates a newHierarchicalQueryClausewhen the portion of the query to parse starts with eitherVERSIONSorAS OF.classIdentificationVariableDeclarationFactoryThisIdentificationVariableDeclarationFactoryhandles parsing the JPQL fragment within theFROMclause.classIdentificationVariableFactoryThisIdentificationVariableFactorycreates a newIdentificationVariable.classIndexExpressionFactoryThisIndexExpressionFactorycreates a newIndexExpressionwhen the portion of the query to parse starts with INDEX.classInExpressionFactoryThisInExpressionFactorycreates a newInExpressionwhen the portion of the query to parse starts with IN or NOT IN.classInternalOrderByItemFactoryThisInternalOrderByItemFactorycreates either aStateFieldPathExpressionor anIdentificationVariable.classIsExpressionFactoryThisIsExpressionFactorycreates a new expression when the portion of the query to parse starts with IS.classJoinCollectionValuedPathExpressionFactoryclassJoinFactoryThisJoinFactorycreates a newJoinwhen the portion of the query to parse starts with JOIN or FETCH JOIN, respectively.classKeyExpressionFactoryThisKeyExpressionFactorycreates a newKeyExpressionwhen the portion of the query to parse starts with KEY.classKeywordExpressionFactoryThisKeywordExpressionFactorycreates a newKeywordExpressionwhen the portion of the JPQL query to parse isFALSE,TRUEorNULL.classLengthExpressionFactoryThisLengthExpressionFactorycreates a newLengthExpressionwhen the portion of the query to parse starts with LENGTH.classLikeExpressionFactoryThisLikeExpressionFactorycreates a newLikeExpressionwhen the portion of the query to parse starts with LIKE or NOT LIKE.classLiteralExpressionFactoryThisLiteralExpressionFactoryis responsible to return the right literal expression.classLocalDateTypeFactoryThisLocalDateTypeFactorycreates a newLocalDateTimewhen the portion of the query to parse starts with LOCAL.classLocalExpressionFactoryThisLocalExpressionFactorycreates a newLocalExpressionwhen the portion of the query to parse starts with LOCAL.classLocateExpressionFactoryThisLocateExpressionFactorycreates a newLocateExpressionwhen the portion of the query to parse starts with LOCATE.classLowerExpressionFactoryThisLowerExpressionFactorycreates a newLowerExpressionwhen the portion of the query to parse starts with LOWER.classMathExpressionFactoryMath functions expressions factories.static classMathExpressionFactory.Ceilingstatic classMathExpressionFactory.Expstatic classMathExpressionFactory.Floorstatic classMathExpressionFactory.Lnstatic classMathExpressionFactory.Powerstatic classMathExpressionFactory.Roundstatic classMathExpressionFactory.SignclassMaxFunctionFactoryThisMaxFunctionFactorycreates a newMaxFunctionwhen the portion of the query to parse starts with MAX.classMinFunctionFactoryThisMinFunctionFactorycreates a newMinFunctionwhen the portion of the query to parse starts with MIN.classModExpressionFactoryThisModExpressionFactorycreates a newModExpressionwhen the portion of the query to parse starts with MOD.classNotExpressionFactoryThisNotExpressionFactorycreates a newNotExpressionwhen the portion of the query to parse starts with NOT.classNullIfExpressionFactoryThisNullIfExpressionFactorycreates a newNullIfExpressionwhen the portion of the query to parse starts with NULLIF.classObjectExpressionFactoryThisObjectExpressionFactorycreates a newObjectExpressionwhen the portion of the query to parse starts with OBJECT.classOnClauseFactoryThisOnClauseFactorycreates a newOnClausewhen the portion of the query to parse starts with ON.classOrderByClauseFactoryThisOrderByClauseFactorycreates a newOrderByClausewhen the portion of the query to parse starts with ORDER BY.classOrderByItemFactoryThisOrderByItemFactorycreates a newOrderByItem.classOrderSiblingsByClauseFactoryThisOrderSiblingsByClauseFactorycreates a newOrderSiblingsByClausewhen the portion of the query to parse starts with ORDER SIBLINGS BY.classOrExpressionFactoryThisOrExpressionFactorycreates a newOrExpressionwhen the portion of the query to parse starts with OR.classRangeDeclarationFactoryclassRangeVariableDeclarationFactoryThisRangeVariableDeclarationcreates a newRangeVariableDeclaration.classRegexpExpressionFactoryThisRegexpExpressionFactorycreates a newRegexpExpressionwhen the portion of the query to parse starts with REGEXP.classResultVariableFactoryThisResultVariableFactorycreates a newResultVariablewhen the portion of the query to parse starts with or without AS.classSelectClauseFactoryThisSelectClauseFactorycreates a newSelectClausewhen the portion of the query to parse starts with SELECT.classSelectStatementFactoryThisSelectStatementFactorycreates a newSelectStatementwhen the portion of the query to parse starts with SELECT.classSimpleSelectStatementFactoryThisSimpleSelectStatementFactorycreates a newSimpleSelectStatementwhen the portion of the query to parse starts with SELECT.classSizeExpressionFactoryThisSizeExpressionFactorycreates a newSizeExpressionwhen the portion of the query to parse starts with SIZE.classSqrtExpressionFactoryThisSqrtExpressionFactorycreates a newSqrtExpressionwhen the portion of the query to parse starts with SQRT.classStartWithClauseFactoryThisStartWithClauseFactorycreates a newStartWithClausewhen the portion of the query to parse starts with START WITH.classStateFieldPathExpressionFactoryThisStateFieldPathExpressionFactoryis meant to handle the parsing of a portion of the query when it's expected to be a state field path.classStringLiteralFactoryThisStringLiteralFactoryis responsible to parse a sub-query starting with a single quote.classSubstringExpressionFactoryThisSubstringExpressionFactorycreates a newSubstringExpressionwhen the portion of the query to parse starts with SUBSTRING.classSumFunctionFactoryThisSumFunctionFactorycreates a newSumFunctionwhen the portion of the query to parse starts with SUM.classTableExpressionFactoryThisTableExpressionFactorycreates a newTableExpression.classTableVariableDeclarationFactoryThisTableVariableDeclarationFactorycreates a newTableVariableDeclaration.classTreatExpressionFactoryThisTreatExpressionFactorycreates a newTreatExpressionwhen the portion of the query to parse starts with TREAT.classTrimExpressionFactoryThisTrimExpressionFactorycreates a newTrimExpressionwhen the portion of the query to parse starts with TRIM.classTypeExpressionFactoryThisTypeExpressionFactorycreates a newTypeExpressionwhen the portion of the query to parse starts with TYPE.classUnionClauseFactoryThisUnionClauseFactorycreates a newUnionClausewhen the portion of the query to parse starts with UNION,INTERSECTorEXCEPT.classUnknownExpressionFactoryThisUnknownExpressionFactorycreates a newUnknownExpressionwhen the portion of the query to parse is unknown.classUpdateClauseFactoryThisUpdateClauseFactorycreates a newUpdateClausewhen the portion of the query to parse starts with UPDATE.classUpdateItemFactoryThisUpdateItemFactorycreates a newUpdateItem.classUpdateItemStateFieldPathExpressionFactoryThisUpdateItemStateFieldPathExpressionFactoryis meant to handle the parsing of a portion of the query when it's expected to be a state field path.classUpdateStatementFactoryThisUpdateStatementFactorycreates a newUpdateStatementwhen the portion of the query to parse starts with UPDATE.classUpperExpressionFactoryThisUpperExpressionFactorycreates a newUpperExpressionwhen the portion of the query to parse starts with UPPER.classValueExpressionFactoryThisValueExpressionFactorycreates a newValueExpressionwhen the portion of the query to parse starts with VALUE.classWhenClauseFactoryThisWhenClauseFactorycreates a newWhenClausewhen the portion of the query to parse starts with WHEN.classWhereClauseFactoryThisWhereClauseFactorycreates a newWhereClausewhen the portion of the query to parse starts with WHERE.Methods in org.eclipse.persistence.jpa.jpql.parser that return ExpressionFactory Modifier and Type Method Description ExpressionFactoryExpressionRegistry. expressionFactoryForIdentifier(String identifier)Retrieves theExpressionFactorythat is responsible for creating theExpressionobject that represents the given JPQL identifier.protected ExpressionFactoryAbstractExpression. findFallBackExpressionFactory(JPQLQueryBNF queryBNF)Retrieve theExpressionFactoryfrom the givenJPQLQueryBNFby following the path of fallbackJPQLQueryBNFsand then returns theExpressionFactoryfrom the leafJPQLQueryBNF.protected ExpressionFactoryAbstractExpression. getExpressionFactory(String expressionFactoryId)Retrieves the registeredExpressionFactorythat was registered for the given unique identifier.ExpressionFactoryExpressionRegistry. getExpressionFactory(String expressionFactoryId)Retrieves the registeredExpressionFactorythat was registered for the given unique identifier.ExpressionFactoryJPQLQueryBNF. getExpressionFactory(String identifier)Retrieves theExpressionFactorythat is associated with the given identifier, if the given string is indeed a JPQL identifier.Methods in org.eclipse.persistence.jpa.jpql.parser with parameters of type ExpressionFactory Modifier and Type Method Description intExpressionFactory. compareTo(ExpressionFactory expressionFactory)protected voidAbstractJPQLGrammar. registerFactory(ExpressionFactory expressionFactory)Registers the givenExpressionFactoryby storing it for all its identifiers.voidExpressionRegistry. registerFactory(ExpressionFactory expressionFactory)Registers the givenExpressionFactoryby storing it for all its identifiers.
-