- All Superinterfaces:
Named
,QueryPart
,SelectFieldOrAsterisk
,Serializable
,Typed<T>
- All Known Subinterfaces:
AggregateFilterStep<T>
,AggregateFunction<T>
,ArrayAggOrderByStep<T>
,CaseConditionStep<T>
,CaseWhenStep<V,
,T> Field<T>
,GroupConcatOrderByStep
,GroupConcatSeparatorStep
,JSONArrayAggNullStep<T>
,JSONArrayAggOrderByStep<J>
,JSONArrayAggReturningStep<T>
,JSONArrayNullStep<T>
,JSONArrayReturningStep<T>
,JSONObjectAggNullStep<T>
,JSONObjectAggReturningStep<T>
,JSONObjectNullStep<T>
,JSONObjectReturningStep<T>
,JSONValueOnStep<J>
,JSONValueReturningStep<T>
,Param<T>
,Parameter<T>
,ParamOrVariable<T>
,QOM.Abs<T>
,QOM.Acos
,QOM.Add<T>
,QOM.AnyValue<T>
,QOM.Array<T>
,QOM.ArrayAgg<T>
,QOM.ArrayGet<T>
,QOM.ArrayQuery<T>
,QOM.Ascii
,QOM.Asin
,QOM.Atan
,QOM.Atan2
,QOM.Avg
,QOM.BitAnd<T>
,QOM.BitAndAgg<T>
,QOM.BitCount
,QOM.BitLength
,QOM.BitNand<T>
,QOM.BitNor<T>
,QOM.BitNot<T>
,QOM.BitOr<T>
,QOM.BitOrAgg<T>
,QOM.BitXNor<T>
,QOM.BitXor<T>
,QOM.BitXorAgg<T>
,QOM.BoolAnd
,QOM.BoolOr
,QOM.Cardinality
,QOM.Cast<T>
,QOM.Ceil<T>
,QOM.CharLength
,QOM.Choose<T>
,QOM.Chr
,QOM.Coalesce<T>
,QOM.Coerce<T>
,QOM.Collated
,QOM.Collect<T,
,A> QOM.Concat
,QOM.ConditionAsField
,QOM.ConnectByIsCycle
,QOM.ConnectByIsLeaf
,QOM.ConnectByRoot<T>
,QOM.Convert<T>
,QOM.Corr
,QOM.Cos
,QOM.Cosh
,QOM.Cot
,QOM.Coth
,QOM.Count
,QOM.CountTable
,QOM.CovarPop
,QOM.CovarSamp
,QOM.CumeDist
,QOM.CurrentCatalog
,QOM.CurrentDate<T>
,QOM.CurrentSchema
,QOM.CurrentTime<T>
,QOM.CurrentTimestamp<T>
,QOM.CurrentUser
,QOM.DateAdd<T>
,QOM.Default<T>
,QOM.Degrees
,QOM.DenseRank
,QOM.Digits
,QOM.Div<T>
,QOM.Euler
,QOM.Exp
,QOM.Extract
,QOM.FieldAlias<T>
,QOM.FieldFunction<T>
,QOM.FirstValue<T>
,QOM.Floor<T>
,QOM.Function<T>
,QOM.Greatest<T>
,QOM.Iif<T>
,QOM.Inline<T>
,QOM.JSONArray<T>
,QOM.JSONArrayAgg<J>
,QOM.JSONObject<T>
,QOM.JSONObjectAgg<J>
,QOM.Lag<T>
,QOM.LastValue<T>
,QOM.Lead<T>
,QOM.Least<T>
,QOM.Left
,QOM.Level
,QOM.Log
,QOM.Log10
,QOM.Lower
,QOM.Lpad
,QOM.Ltrim
,QOM.Max<T>
,QOM.Md5
,QOM.Median
,QOM.Min<T>
,QOM.Mod<T>
,QOM.Mode<T>
,QOM.Mul<T>
,QOM.Multiset<R>
,QOM.MultisetAgg<R>
,QOM.Neg<T>
,QOM.NotField
,QOM.NthValue<T>
,QOM.Ntile
,QOM.Nullif<T>
,QOM.Nvl<T>
,QOM.Nvl2<T>
,QOM.OctetLength
,QOM.Overlay
,QOM.PercentRank
,QOM.Pi
,QOM.PlusJoin<T>
,QOM.Position
,QOM.Power
,QOM.Prior<T>
,QOM.Product
,QOM.QualifiedRowid
,QOM.Radians
,QOM.Rand
,QOM.Rank
,QOM.RatioToReport
,QOM.RegrAvgX
,QOM.RegrAvgY
,QOM.RegrCount
,QOM.RegrIntercept
,QOM.RegrR2
,QOM.RegrSlope
,QOM.RegrSxx
,QOM.RegrSxy
,QOM.RegrSyy
,QOM.Repeat
,QOM.Replace
,QOM.Reverse
,QOM.Right
,QOM.Round<T>
,QOM.RowField<R>
,QOM.Rownum
,QOM.RowNumber
,QOM.Rpad
,QOM.Rtrim
,QOM.ScalarSubquery<T>
,QOM.Shl<T>
,QOM.Shr<T>
,QOM.Sign
,QOM.Sin
,QOM.Sinh
,QOM.Space
,QOM.SplitPart
,QOM.Sqrt
,QOM.Square<T>
,QOM.StArea
,QOM.StAsBinary
,QOM.StAsText
,QOM.StCentroid
,QOM.StddevPop
,QOM.StddevSamp
,QOM.StDifference<T>
,QOM.StDistance<T>
,QOM.StEndPoint<T>
,QOM.StExteriorRing
,QOM.StGeometryN<T>
,QOM.StGeometryType
,QOM.StGeomFromText
,QOM.StGeomFromWKB
,QOM.StInteriorRingN
,QOM.StIntersection<T>
,QOM.StLength
,QOM.StNumGeometries
,QOM.StNumInteriorRings
,QOM.StNumPoints
,QOM.StPointN<T>
,QOM.StSrid
,QOM.StStartPoint<T>
,QOM.StUnion<T>
,QOM.StX
,QOM.StY
,QOM.StZ
,QOM.Sub<T>
,QOM.Substring
,QOM.SubstringIndex
,QOM.Sum
,QOM.SysConnectByPath
,QOM.Tan
,QOM.Tanh
,QOM.Tau
,QOM.TimestampDiff<T>
,QOM.ToChar
,QOM.ToDate
,QOM.ToHex
,QOM.ToTimestamp
,QOM.Translate
,QOM.Trim
,QOM.Trunc<T>
,QOM.Upper
,QOM.Uuid
,QOM.Val<T>
,QOM.VarPop
,QOM.VarSamp
,QOM.WidthBucket<T>
,QOM.WindowFunction<T>
,QOM.XMLAgg
,QOM.XMLComment
,QOM.XMLConcat
,QOM.XMLDocument
,QOM.XMLElement
,QOM.XMLForest
,QOM.XMLParse
,QOM.XMLPi
,QOM.XMLQuery
,QOM.XMLSerialize<T>
,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> RowN
,TableField<R,
,T> UDTField<R,
,T> Variable<T>
,WindowBeforeOverStep<T>
,WindowExcludeStep<T>
,WindowFinalStep<T>
,WindowOrderByStep<T>
,WindowPartitionByStep<T>
,WindowRowsStep<T>
,XMLAggOrderByStep<T>
- All Known Implementing Classes:
CustomField
A
QueryPart
to be used exclusively in SELECT
clauses.
Instances of this type cannot be created directly, only of its subtypes.
- Author:
- Lukas Eder
-
Method Summary
Methods inherited from interface org.jooq.Named
$name, getComment, getCommentPart, getName, getQualifiedName, getUnqualifiedName
Methods inherited from interface org.jooq.QueryPart
$replace, $replace, $traverse, $traverse, equals, hashCode, toString
Methods inherited from interface org.jooq.Typed
$dataType, getBinding, getConverter, getDataType, getDataType, getType
-
Method Details
-
as
Create an alias for this field.Note that the case-sensitivity of the returned field depends on
Settings.getRenderQuotedNames()
. By default, field aliases are quoted, and thus case-sensitive in many SQL dialects!- Parameters:
alias
- The alias name- Returns:
- The field alias
-
as
Create an alias for this field.Note that the case-sensitivity of the returned field depends on
Settings.getRenderQuotedNames()
and theName
. By default, field aliases are quoted, and thus case-sensitive in many SQL dialects - useDSL.unquotedName(String...)
for case-insensitive aliases.If the argument
Name.getName()
is qualified, then theName.last()
part will be used.- Parameters:
alias
- The alias name- Returns:
- The field alias
-
as
Create an alias for this field based on another field's name.- Parameters:
otherField
- The other field whose name this field is aliased with.- Returns:
- The field alias.
-