Class FormattedField
- java.lang.Object
-
- org.ehrbase.aql.sql.queryImpl.attribute.RMObjectAttribute
-
- org.ehrbase.aql.sql.queryImpl.value_field.FormattedField
-
- All Implemented Interfaces:
I_JoinBinder,I_RMObjectAttribute
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
-
Fields inherited from interface org.ehrbase.aql.sql.binding.I_JoinBinder
composerRef, COMPOSITION_JOIN, compositionRecordTable, EHR_JOIN, ehrRecordTable, facilityRef, STATUS_JOIN, statusRecordTable, subjectRef, SYSTEM_JOIN, systemRecordTable
-
-
Constructor Summary
Constructors Constructor Description FormattedField(FieldResolutionContext fieldContext, JoinSetup joinSetup)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description I_RMObjectAttributeforTableField(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 I_RMObjectAttribute forTableField(org.jooq.TableField tableField)
-
-