Class FormattedField
- java.lang.Object
-
- org.ehrbase.aql.sql.queryimpl.attribute.RMObjectAttribute
-
- org.ehrbase.aql.sql.queryimpl.value_field.FormattedField
-
- All Implemented Interfaces:
IJoinBinder,IRMObjectAttribute
public class FormattedField extends RMObjectAttribute
use to format a result using a function (f.e. to generate a correct ISO date/time
-
-
Field Summary
-
Fields inherited from class org.ehrbase.aql.sql.queryimpl.attribute.RMObjectAttribute
compositionIdFieldSetup, ehrSetup, fieldContext, filterSetup, joinSetup
-
-
Constructor Summary
Constructors Constructor Description FormattedField(FieldResolutionContext fieldContext, JoinSetup joinSetup)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IRMObjectAttributeforTableField(org.jooq.TableField tableField)org.jooq.FieldsqlField()org.jooq.Fieldusing(String sqlType, String separator, String resultType, String plpgsqlFunction, org.jooq.Field... tableFields)org.jooq.FieldusingToJson(String sqlType, String separator, org.jooq.Field... tableFields)-
Methods inherited from class org.ehrbase.aql.sql.queryimpl.attribute.RMObjectAttribute
aliased, as, defaultAliased, effectiveAlias
-
-
-
-
Constructor Detail
-
FormattedField
public FormattedField(FieldResolutionContext fieldContext, JoinSetup joinSetup)
-
-
Method Detail
-
using
public org.jooq.Field using(String sqlType, String separator, String resultType, String plpgsqlFunction, org.jooq.Field... tableFields)
-
usingToJson
public org.jooq.Field usingToJson(String sqlType, String separator, org.jooq.Field... tableFields)
-
sqlField
public org.jooq.Field sqlField()
-
forTableField
public IRMObjectAttribute forTableField(org.jooq.TableField tableField)
-
-