public interface Name extends QueryPart
QueryPart
.
A Name
is a QueryPart
that renders a SQL identifier
according to the settings specified in Settings.getRenderNameStyle()
.
Modifier and Type | Method and Description |
---|---|
<R extends Record> |
as(Select<R> select)
Specify a subselect to refer to by the
Name to form a common
table expression. |
WindowDefinition |
as(WindowSpecification window)
Create a
WindowDefinition from this name. |
boolean |
equals(Object other)
Check whether this
QueryPart can be considered equal to
another QueryPart . |
boolean |
equalsIgnoreCase(Name other)
Compare this name with another one ignoring case.
|
DerivedColumnList |
fields(java.util.function.BiFunction<? super Field<?>,? super Integer,? extends String> fieldNameFunction)
Add a list of fields to this name to make this name a
DerivedColumnList . |
DerivedColumnList |
fields(java.util.function.Function<? super Field<?>,? extends String> fieldNameFunction)
Add a list of fields to this name to make this name a
DerivedColumnList . |
DerivedColumnList |
fields(String... fieldNames)
Add a list of fields to this name to make this name a
DerivedColumnList . |
DerivedColumnList1 |
fields(String fieldName1)
Add a list of fields to this name to make this name a
DerivedColumnList . |
DerivedColumnList2 |
fields(String fieldName1,
String fieldName2)
Add a list of fields to this name to make this name a
DerivedColumnList . |
DerivedColumnList3 |
fields(String fieldName1,
String fieldName2,
String fieldName3)
Add a list of fields to this name to make this name a
DerivedColumnList . |
DerivedColumnList4 |
fields(String fieldName1,
String fieldName2,
String fieldName3,
String fieldName4)
Add a list of fields to this name to make this name a
DerivedColumnList . |
DerivedColumnList5 |
fields(String fieldName1,
String fieldName2,
String fieldName3,
String fieldName4,
String fieldName5)
Add a list of fields to this name to make this name a
DerivedColumnList . |
DerivedColumnList6 |
fields(String fieldName1,
String fieldName2,
String fieldName3,
String fieldName4,
String fieldName5,
String fieldName6)
Add a list of fields to this name to make this name a
DerivedColumnList . |
DerivedColumnList7 |
fields(String fieldName1,
String fieldName2,
String fieldName3,
String fieldName4,
String fieldName5,
String fieldName6,
String fieldName7)
Add a list of fields to this name to make this name a
DerivedColumnList . |
DerivedColumnList8 |
fields(String fieldName1,
String fieldName2,
String fieldName3,
String fieldName4,
String fieldName5,
String fieldName6,
String fieldName7,
String fieldName8)
Add a list of fields to this name to make this name a
DerivedColumnList . |
DerivedColumnList9 |
fields(String fieldName1,
String fieldName2,
String fieldName3,
String fieldName4,
String fieldName5,
String fieldName6,
String fieldName7,
String fieldName8,
String fieldName9)
Add a list of fields to this name to make this name a
DerivedColumnList . |
DerivedColumnList10 |
fields(String fieldName1,
String fieldName2,
String fieldName3,
String fieldName4,
String fieldName5,
String fieldName6,
String fieldName7,
String fieldName8,
String fieldName9,
String fieldName10)
Add a list of fields to this name to make this name a
DerivedColumnList . |
DerivedColumnList11 |
fields(String fieldName1,
String fieldName2,
String fieldName3,
String fieldName4,
String fieldName5,
String fieldName6,
String fieldName7,
String fieldName8,
String fieldName9,
String fieldName10,
String fieldName11)
Add a list of fields to this name to make this name a
DerivedColumnList . |
DerivedColumnList12 |
fields(String fieldName1,
String fieldName2,
String fieldName3,
String fieldName4,
String fieldName5,
String fieldName6,
String fieldName7,
String fieldName8,
String fieldName9,
String fieldName10,
String fieldName11,
String fieldName12)
Add a list of fields to this name to make this name a
DerivedColumnList . |
DerivedColumnList13 |
fields(String fieldName1,
String fieldName2,
String fieldName3,
String fieldName4,
String fieldName5,
String fieldName6,
String fieldName7,
String fieldName8,
String fieldName9,
String fieldName10,
String fieldName11,
String fieldName12,
String fieldName13)
Add a list of fields to this name to make this name a
DerivedColumnList . |
DerivedColumnList14 |
fields(String fieldName1,
String fieldName2,
String fieldName3,
String fieldName4,
String fieldName5,
String fieldName6,
String fieldName7,
String fieldName8,
String fieldName9,
String fieldName10,
String fieldName11,
String fieldName12,
String fieldName13,
String fieldName14)
Add a list of fields to this name to make this name a
DerivedColumnList . |
DerivedColumnList15 |
fields(String fieldName1,
String fieldName2,
String fieldName3,
String fieldName4,
String fieldName5,
String fieldName6,
String fieldName7,
String fieldName8,
String fieldName9,
String fieldName10,
String fieldName11,
String fieldName12,
String fieldName13,
String fieldName14,
String fieldName15)
Add a list of fields to this name to make this name a
DerivedColumnList . |
DerivedColumnList16 |
fields(String fieldName1,
String fieldName2,
String fieldName3,
String fieldName4,
String fieldName5,
String fieldName6,
String fieldName7,
String fieldName8,
String fieldName9,
String fieldName10,
String fieldName11,
String fieldName12,
String fieldName13,
String fieldName14,
String fieldName15,
String fieldName16)
Add a list of fields to this name to make this name a
DerivedColumnList . |
DerivedColumnList17 |
fields(String fieldName1,
String fieldName2,
String fieldName3,
String fieldName4,
String fieldName5,
String fieldName6,
String fieldName7,
String fieldName8,
String fieldName9,
String fieldName10,
String fieldName11,
String fieldName12,
String fieldName13,
String fieldName14,
String fieldName15,
String fieldName16,
String fieldName17)
Add a list of fields to this name to make this name a
DerivedColumnList . |
DerivedColumnList18 |
fields(String fieldName1,
String fieldName2,
String fieldName3,
String fieldName4,
String fieldName5,
String fieldName6,
String fieldName7,
String fieldName8,
String fieldName9,
String fieldName10,
String fieldName11,
String fieldName12,
String fieldName13,
String fieldName14,
String fieldName15,
String fieldName16,
String fieldName17,
String fieldName18)
Add a list of fields to this name to make this name a
DerivedColumnList . |
DerivedColumnList19 |
fields(String fieldName1,
String fieldName2,
String fieldName3,
String fieldName4,
String fieldName5,
String fieldName6,
String fieldName7,
String fieldName8,
String fieldName9,
String fieldName10,
String fieldName11,
String fieldName12,
String fieldName13,
String fieldName14,
String fieldName15,
String fieldName16,
String fieldName17,
String fieldName18,
String fieldName19)
Add a list of fields to this name to make this name a
DerivedColumnList . |
DerivedColumnList20 |
fields(String fieldName1,
String fieldName2,
String fieldName3,
String fieldName4,
String fieldName5,
String fieldName6,
String fieldName7,
String fieldName8,
String fieldName9,
String fieldName10,
String fieldName11,
String fieldName12,
String fieldName13,
String fieldName14,
String fieldName15,
String fieldName16,
String fieldName17,
String fieldName18,
String fieldName19,
String fieldName20)
Add a list of fields to this name to make this name a
DerivedColumnList . |
DerivedColumnList21 |
fields(String fieldName1,
String fieldName2,
String fieldName3,
String fieldName4,
String fieldName5,
String fieldName6,
String fieldName7,
String fieldName8,
String fieldName9,
String fieldName10,
String fieldName11,
String fieldName12,
String fieldName13,
String fieldName14,
String fieldName15,
String fieldName16,
String fieldName17,
String fieldName18,
String fieldName19,
String fieldName20,
String fieldName21)
Add a list of fields to this name to make this name a
DerivedColumnList . |
DerivedColumnList22 |
fields(String fieldName1,
String fieldName2,
String fieldName3,
String fieldName4,
String fieldName5,
String fieldName6,
String fieldName7,
String fieldName8,
String fieldName9,
String fieldName10,
String fieldName11,
String fieldName12,
String fieldName13,
String fieldName14,
String fieldName15,
String fieldName16,
String fieldName17,
String fieldName18,
String fieldName19,
String fieldName20,
String fieldName21,
String fieldName22)
Add a list of fields to this name to make this name a
DerivedColumnList . |
String |
first()
|
String[] |
getName()
The qualified name of this SQL identifier.
|
String |
last()
|
boolean |
qualified()
Whether this is a qualified name.
|
String first()
String last()
boolean qualified()
This is true
as soon as getName()
has a length of more than 1
.
String[] getName()
@Support(value={CUBRID,DB2,FIREBIRD_3_0,HANA,INFORMIX,POSTGRES,ORACLE,SQLSERVER,SYBASE,VERTICA}) WindowDefinition as(WindowSpecification window)
WindowDefinition
from this name.
This creates a window definition that can be
WINDOW
clause (see
SelectWindowStep.window(WindowDefinition...)
OVER
clause (see
WindowOverStep.over(WindowDefinition)
@Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) <R extends Record> CommonTableExpression<R> as(Select<R> select)
Name
to form a common
table expression.
Column names are implicitly inherited from the SELECT
statement.
@Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) DerivedColumnList fields(String... fieldNames)
DerivedColumnList
.
The DerivedColumnList
can then be used along with a
subselect to form a CommonTableExpression
to be used with
WITH
clauses.
@Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) DerivedColumnList fields(java.util.function.Function<? super Field<?>,? extends String> fieldNameFunction)
DerivedColumnList
.
The DerivedColumnList
can then be used along with a
subselect to form a CommonTableExpression
to be used with
WITH
clauses.
This works in a similar way as fields(String...)
, except
that all column names are produced by a function that receives the CTE's
Select
columns and their column indexes as input.
@Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) DerivedColumnList fields(java.util.function.BiFunction<? super Field<?>,? super Integer,? extends String> fieldNameFunction)
DerivedColumnList
.
The DerivedColumnList
can then be used along with a
subselect to form a CommonTableExpression
to be used with
WITH
clauses.
This works in a similar way as fields(String...)
, except
that all column names are produced by a function that receives the CTE's
Select
columns as input.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) DerivedColumnList1 fields(String fieldName1)
DerivedColumnList
.
The DerivedColumnList
can then be used along with a
subselect to form a CommonTableExpression
to be used with
WITH
clauses.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) DerivedColumnList2 fields(String fieldName1, String fieldName2)
DerivedColumnList
.
The DerivedColumnList
can then be used along with a
subselect to form a CommonTableExpression
to be used with
WITH
clauses.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) DerivedColumnList3 fields(String fieldName1, String fieldName2, String fieldName3)
DerivedColumnList
.
The DerivedColumnList
can then be used along with a
subselect to form a CommonTableExpression
to be used with
WITH
clauses.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) DerivedColumnList4 fields(String fieldName1, String fieldName2, String fieldName3, String fieldName4)
DerivedColumnList
.
The DerivedColumnList
can then be used along with a
subselect to form a CommonTableExpression
to be used with
WITH
clauses.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) DerivedColumnList5 fields(String fieldName1, String fieldName2, String fieldName3, String fieldName4, String fieldName5)
DerivedColumnList
.
The DerivedColumnList
can then be used along with a
subselect to form a CommonTableExpression
to be used with
WITH
clauses.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) DerivedColumnList6 fields(String fieldName1, String fieldName2, String fieldName3, String fieldName4, String fieldName5, String fieldName6)
DerivedColumnList
.
The DerivedColumnList
can then be used along with a
subselect to form a CommonTableExpression
to be used with
WITH
clauses.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) DerivedColumnList7 fields(String fieldName1, String fieldName2, String fieldName3, String fieldName4, String fieldName5, String fieldName6, String fieldName7)
DerivedColumnList
.
The DerivedColumnList
can then be used along with a
subselect to form a CommonTableExpression
to be used with
WITH
clauses.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) DerivedColumnList8 fields(String fieldName1, String fieldName2, String fieldName3, String fieldName4, String fieldName5, String fieldName6, String fieldName7, String fieldName8)
DerivedColumnList
.
The DerivedColumnList
can then be used along with a
subselect to form a CommonTableExpression
to be used with
WITH
clauses.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) DerivedColumnList9 fields(String fieldName1, String fieldName2, String fieldName3, String fieldName4, String fieldName5, String fieldName6, String fieldName7, String fieldName8, String fieldName9)
DerivedColumnList
.
The DerivedColumnList
can then be used along with a
subselect to form a CommonTableExpression
to be used with
WITH
clauses.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) DerivedColumnList10 fields(String fieldName1, String fieldName2, String fieldName3, String fieldName4, String fieldName5, String fieldName6, String fieldName7, String fieldName8, String fieldName9, String fieldName10)
DerivedColumnList
.
The DerivedColumnList
can then be used along with a
subselect to form a CommonTableExpression
to be used with
WITH
clauses.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) DerivedColumnList11 fields(String fieldName1, String fieldName2, String fieldName3, String fieldName4, String fieldName5, String fieldName6, String fieldName7, String fieldName8, String fieldName9, String fieldName10, String fieldName11)
DerivedColumnList
.
The DerivedColumnList
can then be used along with a
subselect to form a CommonTableExpression
to be used with
WITH
clauses.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) DerivedColumnList12 fields(String fieldName1, String fieldName2, String fieldName3, String fieldName4, String fieldName5, String fieldName6, String fieldName7, String fieldName8, String fieldName9, String fieldName10, String fieldName11, String fieldName12)
DerivedColumnList
.
The DerivedColumnList
can then be used along with a
subselect to form a CommonTableExpression
to be used with
WITH
clauses.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) DerivedColumnList13 fields(String fieldName1, String fieldName2, String fieldName3, String fieldName4, String fieldName5, String fieldName6, String fieldName7, String fieldName8, String fieldName9, String fieldName10, String fieldName11, String fieldName12, String fieldName13)
DerivedColumnList
.
The DerivedColumnList
can then be used along with a
subselect to form a CommonTableExpression
to be used with
WITH
clauses.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) DerivedColumnList14 fields(String fieldName1, String fieldName2, String fieldName3, String fieldName4, String fieldName5, String fieldName6, String fieldName7, String fieldName8, String fieldName9, String fieldName10, String fieldName11, String fieldName12, String fieldName13, String fieldName14)
DerivedColumnList
.
The DerivedColumnList
can then be used along with a
subselect to form a CommonTableExpression
to be used with
WITH
clauses.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) DerivedColumnList15 fields(String fieldName1, String fieldName2, String fieldName3, String fieldName4, String fieldName5, String fieldName6, String fieldName7, String fieldName8, String fieldName9, String fieldName10, String fieldName11, String fieldName12, String fieldName13, String fieldName14, String fieldName15)
DerivedColumnList
.
The DerivedColumnList
can then be used along with a
subselect to form a CommonTableExpression
to be used with
WITH
clauses.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) DerivedColumnList16 fields(String fieldName1, String fieldName2, String fieldName3, String fieldName4, String fieldName5, String fieldName6, String fieldName7, String fieldName8, String fieldName9, String fieldName10, String fieldName11, String fieldName12, String fieldName13, String fieldName14, String fieldName15, String fieldName16)
DerivedColumnList
.
The DerivedColumnList
can then be used along with a
subselect to form a CommonTableExpression
to be used with
WITH
clauses.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) DerivedColumnList17 fields(String fieldName1, String fieldName2, String fieldName3, String fieldName4, String fieldName5, String fieldName6, String fieldName7, String fieldName8, String fieldName9, String fieldName10, String fieldName11, String fieldName12, String fieldName13, String fieldName14, String fieldName15, String fieldName16, String fieldName17)
DerivedColumnList
.
The DerivedColumnList
can then be used along with a
subselect to form a CommonTableExpression
to be used with
WITH
clauses.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) DerivedColumnList18 fields(String fieldName1, String fieldName2, String fieldName3, String fieldName4, String fieldName5, String fieldName6, String fieldName7, String fieldName8, String fieldName9, String fieldName10, String fieldName11, String fieldName12, String fieldName13, String fieldName14, String fieldName15, String fieldName16, String fieldName17, String fieldName18)
DerivedColumnList
.
The DerivedColumnList
can then be used along with a
subselect to form a CommonTableExpression
to be used with
WITH
clauses.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) DerivedColumnList19 fields(String fieldName1, String fieldName2, String fieldName3, String fieldName4, String fieldName5, String fieldName6, String fieldName7, String fieldName8, String fieldName9, String fieldName10, String fieldName11, String fieldName12, String fieldName13, String fieldName14, String fieldName15, String fieldName16, String fieldName17, String fieldName18, String fieldName19)
DerivedColumnList
.
The DerivedColumnList
can then be used along with a
subselect to form a CommonTableExpression
to be used with
WITH
clauses.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) DerivedColumnList20 fields(String fieldName1, String fieldName2, String fieldName3, String fieldName4, String fieldName5, String fieldName6, String fieldName7, String fieldName8, String fieldName9, String fieldName10, String fieldName11, String fieldName12, String fieldName13, String fieldName14, String fieldName15, String fieldName16, String fieldName17, String fieldName18, String fieldName19, String fieldName20)
DerivedColumnList
.
The DerivedColumnList
can then be used along with a
subselect to form a CommonTableExpression
to be used with
WITH
clauses.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) DerivedColumnList21 fields(String fieldName1, String fieldName2, String fieldName3, String fieldName4, String fieldName5, String fieldName6, String fieldName7, String fieldName8, String fieldName9, String fieldName10, String fieldName11, String fieldName12, String fieldName13, String fieldName14, String fieldName15, String fieldName16, String fieldName17, String fieldName18, String fieldName19, String fieldName20, String fieldName21)
DerivedColumnList
.
The DerivedColumnList
can then be used along with a
subselect to form a CommonTableExpression
to be used with
WITH
clauses.
@Generated(value="This method was generated using jOOQ-tools") @Support(value={DB2,FIREBIRD,H2,HSQLDB,ORACLE,POSTGRES,SQLSERVER,SYBASE,VERTICA}) DerivedColumnList22 fields(String fieldName1, String fieldName2, String fieldName3, String fieldName4, String fieldName5, String fieldName6, String fieldName7, String fieldName8, String fieldName9, String fieldName10, String fieldName11, String fieldName12, String fieldName13, String fieldName14, String fieldName15, String fieldName16, String fieldName17, String fieldName18, String fieldName19, String fieldName20, String fieldName21, String fieldName22)
DerivedColumnList
.
The DerivedColumnList
can then be used along with a
subselect to form a CommonTableExpression
to be used with
WITH
clauses.
boolean equals(Object other)
QueryPart
can be considered equal to
another QueryPart
.
In general, QueryPart
equality is defined in terms of
QueryPart.toString()
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, as QueryPart.toString()
is an
expensive operation, if called many times.
boolean equalsIgnoreCase(Name other)
Copyright © 2017. All Rights Reserved.