-
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
AggregateFilterStep<T>
,AggregateFunction<T>
,AlterIndexFinalStep
,AlterSchemaFinalStep
,AlterSequenceFinalStep
,AlterSequenceFlagsStep
,AlterSequenceStep<T>
,AlterTableAddStep
,AlterTableDropStep
,AlterTableFinalStep
,AlterTableUsingIndexStep
,AlterTypeFinalStep
,AlterViewFinalStep
,ArrayAggOrderByStep<T>
,Asterisk
,Block
,CaseConditionStep<T>
,CaseWhenStep<V,T>
,Catalog
,CharacterSet
,Check<R>
,Collation
,Comment
,CommentOnFinalStep
,CommonTableExpression<R>
,Condition
,Constraint
,ConstraintEnforcementStep
,ConstraintFinalStep
,ConstraintForeignKeyOnStep
,ConstraintTypeStep
,ContinueWhenStep
,CreateIndexFinalStep
,CreateIndexIncludeStep
,CreateIndexWhereStep
,CreateSchemaFinalStep
,CreateSequenceFinalStep
,CreateSequenceFlagsStep
,CreateTableColumnStep
,CreateTableCommentStep
,CreateTableConstraintStep
,CreateTableFinalStep
,CreateTableIndexStep
,CreateTableOnCommitStep
,CreateTableStorageStep
,CreateTableWithDataStep
,CreateTypeFinalStep
,CreateViewFinalStep
,DDLQuery
,Declaration<T>
,Delete<R>
,DeleteConditionStep<R>
,DeleteFinalStep<R>
,DeleteLimitStep<R>
,DeleteOrderByStep<R>
,DeleteQuery<R>
,DeleteResultStep<R>
,DeleteReturningStep<R>
,DeleteUsingStep<R>
,DeleteWhereStep<R>
,DerivedColumnList
,DerivedColumnList1
,DerivedColumnList10
,DerivedColumnList11
,DerivedColumnList12
,DerivedColumnList13
,DerivedColumnList14
,DerivedColumnList15
,DerivedColumnList16
,DerivedColumnList17
,DerivedColumnList18
,DerivedColumnList19
,DerivedColumnList2
,DerivedColumnList20
,DerivedColumnList21
,DerivedColumnList22
,DerivedColumnList3
,DerivedColumnList4
,DerivedColumnList5
,DerivedColumnList6
,DerivedColumnList7
,DerivedColumnList8
,DerivedColumnList9
,DropIndexCascadeStep
,DropIndexFinalStep
,DropIndexOnStep
,DropSchemaFinalStep
,DropSchemaStep
,DropSequenceFinalStep
,DropTableFinalStep
,DropTableStep
,DropTypeFinalStep
,DropTypeStep
,DropViewFinalStep
,ExitWhenStep
,False
,Field<T>
,FieldOrConstraint
,FieldOrRow
,ForeignKey<R,O>
,GrantFinalStep
,GrantWithGrantOptionStep
,GroupConcatOrderByStep
,GroupConcatSeparatorStep
,GroupField
,IfElseStep
,Index
,Insert<R>
,InsertFinalStep<R>
,InsertOnConflictConditionStep<R>
,InsertOnConflictWhereStep<R>
,InsertOnDuplicateSetMoreStep<R>
,InsertOnDuplicateStep<R>
,InsertQuery<R>
,InsertResultStep<R>
,InsertReturningStep<R>
,InsertSetMoreStep<R>
,InsertValuesStep1<R,T1>
,InsertValuesStep10<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>
,InsertValuesStep11<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>
,InsertValuesStep12<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>
,InsertValuesStep13<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>
,InsertValuesStep14<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>
,InsertValuesStep15<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>
,InsertValuesStep16<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>
,InsertValuesStep17<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>
,InsertValuesStep18<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>
,InsertValuesStep19<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>
,InsertValuesStep2<R,T1,T2>
,InsertValuesStep20<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>
,InsertValuesStep21<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>
,InsertValuesStep22<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>
,InsertValuesStep3<R,T1,T2,T3>
,InsertValuesStep4<R,T1,T2,T3,T4>
,InsertValuesStep5<R,T1,T2,T3,T4,T5>
,InsertValuesStep6<R,T1,T2,T3,T4,T5,T6>
,InsertValuesStep7<R,T1,T2,T3,T4,T5,T6,T7>
,InsertValuesStep8<R,T1,T2,T3,T4,T5,T6,T7,T8>
,InsertValuesStep9<R,T1,T2,T3,T4,T5,T6,T7,T8,T9>
,InsertValuesStepN<R>
,JSONEntry<T>
,Key<R>
,Keyword
,Label
,LikeEscapeStep
,Link
,Merge<R>
,MergeFinalStep<R>
,MergeMatchedDeleteStep<R>
,MergeMatchedSetMoreStep<R>
,MergeMatchedStep<R>
,MergeMatchedWhereStep<R>
,MergeNotMatchedSetMoreStep<R>
,MergeNotMatchedStep<R>
,MergeNotMatchedWhereStep<R>
,MergeOnConditionStep<R>
,Name
,Named
,OrderField<T>
,Package
,Param<T>
,Parameter<T>
,Period<T>
,PeriodSpecification
,Privilege
,QualifiedAsterisk
,QuantifiedSelect<R>
,Queries
,Query
,QueryPartInternal
,ResultQuery<R>
,RevokeFinalStep
,Role
,Routine<T>
,Row
,Row1<T1>
,Row10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>
,Row11<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>
,Row12<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>
,Row13<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>
,Row14<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>
,Row15<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>
,Row16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>
,Row17<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>
,Row18<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>
,Row19<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>
,Row2<T1,T2>
,Row20<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>
,Row21<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>
,Row22<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>
,Row3<T1,T2,T3>
,Row4<T1,T2,T3,T4>
,Row5<T1,T2,T3,T4,T5>
,Row6<T1,T2,T3,T4,T5,T6>
,Row7<T1,T2,T3,T4,T5,T6,T7>
,Row8<T1,T2,T3,T4,T5,T6,T7,T8>
,Row9<T1,T2,T3,T4,T5,T6,T7,T8,T9>
,RowCountQuery
,RowN
,Schema
,Select<R>
,SelectConditionStep<R>
,SelectConnectByAfterStartWithConditionStep<R>
,SelectConnectByConditionStep<R>
,SelectConnectByStep<R>
,SelectDistinctOnStep<R>
,SelectField<T>
,SelectFieldOrAsterisk
,SelectFinalStep<R>
,SelectForUpdateOfStep<R>
,SelectForUpdateStep<R>
,SelectForUpdateWaitStep<R>
,SelectFromStep<R>
,SelectGroupByStep<R>
,SelectHavingConditionStep<R>
,SelectHavingStep<R>
,SelectIntoStep<R>
,SelectJoinStep<R>
,SelectLimitAfterOffsetStep<R>
,SelectLimitPercentAfterOffsetStep<R>
,SelectLimitPercentStep<R>
,SelectLimitStep<R>
,SelectOffsetStep<R>
,SelectOnConditionStep<R>
,SelectOptionalOnStep<R>
,SelectOptionStep<R>
,SelectOrderByStep<R>
,SelectQualifyConditionStep<R>
,SelectQualifyStep<R>
,SelectQuery<R>
,SelectSeekLimitStep<R>
,SelectSeekStep1<R,T1>
,SelectSeekStep10<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>
,SelectSeekStep11<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>
,SelectSeekStep12<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>
,SelectSeekStep13<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>
,SelectSeekStep14<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>
,SelectSeekStep15<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>
,SelectSeekStep16<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>
,SelectSeekStep17<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17>
,SelectSeekStep18<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18>
,SelectSeekStep19<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19>
,SelectSeekStep2<R,T1,T2>
,SelectSeekStep20<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20>
,SelectSeekStep21<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21>
,SelectSeekStep22<R,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22>
,SelectSeekStep3<R,T1,T2,T3>
,SelectSeekStep4<R,T1,T2,T3,T4>
,SelectSeekStep5<R,T1,T2,T3,T4,T5>
,SelectSeekStep6<R,T1,T2,T3,T4,T5,T6>
,SelectSeekStep7<R,T1,T2,T3,T4,T5,T6,T7>
,SelectSeekStep8<R,T1,T2,T3,T4,T5,T6,T7,T8>
,SelectSeekStep9<R,T1,T2,T3,T4,T5,T6,T7,T8,T9>
,SelectSeekStepN<R>
,SelectSelectStep<R>
,SelectStartWithStep<R>
,SelectUnionStep<R>
,SelectWhereStep<R>
,SelectWindowStep<R>
,SelectWithTiesAfterOffsetStep<R>
,SelectWithTiesStep<R>
,Sequence<T>
,SortField<T>
,SQL
,Statement
,StoreQuery<R>
,Table<R>
,TableField<R,T>
,TableLike<R>
,TableOnConditionStep<R>
,TableOptionalOnStep<R>
,True
,Truncate<R>
,TruncateCascadeStep<R>
,TruncateFinalStep<R>
,TruncateIdentityStep<R>
,Typed<T>
,UDT<R>
,UDTField<R,T>
,UniqueKey<R>
,Update<R>
,UpdateConditionStep<R>
,UpdateFinalStep<R>
,UpdateFromStep<R>
,UpdateLimitStep<R>
,UpdateOrderByStep<R>
,UpdateQuery<R>
,UpdateResultStep<R>
,UpdateReturningStep<R>
,UpdateSetMoreStep<R>
,UpdateWhereStep<R>
,User
,Variable<T>
,WindowBeforeOverStep<T>
,WindowDefinition
,WindowExcludeStep<T>
,WindowFinalStep<T>
,WindowOrderByStep<T>
,WindowPartitionByStep<T>
,WindowRowsStep<T>
,WindowSpecification
,WindowSpecificationExcludeStep
,WindowSpecificationFinalStep
,WindowSpecificationOrderByStep
,WindowSpecificationPartitionByStep
,WindowSpecificationRowsStep
,WithStep
- All Known Implementing Classes:
AbstractRoutine
,CatalogImpl
,ConvertDateTime
,CustomCondition
,CustomField
,CustomQueryPart
,CustomTable
,PackageImpl
,SchemaImpl
,SequenceImpl
,TableImpl
,UDTImpl
public interface QueryPart extends Serializable
The common base type for all objects that can be used for query composition.- Author:
- Lukas Eder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
equals(Object object)
Check whether thisQueryPart
can be considered equal to anotherQueryPart
.int
hashCode()
Generate a hash code from thisQueryPart
.String
toString()
Render a SQL string representation of thisQueryPart
.
-
-
-
Method Detail
-
toString
String toString()
Render a SQL string representation of thisQueryPart
.For improved debugging, this renders a SQL string of this
QueryPart
with inlined bind variables. If thisQueryPart
isAttachable
, then the attachedConfiguration
may be used for rendering the SQL string, includingSQLDialect
andSettings
. Do note that mostQueryPart
instances are not attached to aConfiguration
, and thus there is no guarantee that the SQL string will make sense in the context of a specific database.
-
equals
boolean equals(Object object)
Check whether thisQueryPart
can be considered equal to anotherQueryPart
.In general,
QueryPart
equality is defined in terms oftoString()
equality. In other words, two query parts are considered equal if their rendered SQL (with inlined bind variables) is equal. This means that the two query parts do not necessarily have to be of the same type.Some
QueryPart
implementations may choose to override this behaviour for improved performance, astoString()
is an expensive operation, if called many times.
-
hashCode
int hashCode()
Generate a hash code from thisQueryPart
.In general,
QueryPart
hash codes are the same as the hash codes generated fromtoString()
. This guarantees consistent behaviour withequals(Object)
Some
QueryPart
implementations may choose to override this behaviour for improved performance, astoString()
is an expensive operation, if called many times.
-
-