public class DataDialect extends Object
observation_fact table. E.g. how to
store/interpret null values.
The function calls beginning with encode produce
values which are stored in the database. The decode functions
are used to decode the database values and produce a usable value.
| Constructor and Description |
|---|
DataDialect() |
| Modifier and Type | Method and Description |
|---|---|
Instant |
decodeInstant(Timestamp timestamp) |
DateTimeAccuracy |
decodeInstantPartial(Timestamp timestamp) |
String |
decodeLocationCd(String rowValue) |
String |
decodeModifierCd(String rowValue) |
String |
decodeUnitCd(String rowValue) |
AbnormalFlag |
decodeValueFlagCd(String value_flag_cd) |
String |
decodeValueTypeCd(String rowValue) |
Timestamp |
encodeInstant(Instant instant) |
Timestamp |
encodeInstantPartial(DateTimeAccuracy instant) |
String |
encodeLocationCd(String locationCd) |
String |
encodeOperator(Value value) |
String |
encodeProviderId(String providerId) |
String |
encodeUnitCd(String unitCd) |
String |
encodeValueFlagCd(Value value) |
String |
getDefaultProviderId() |
String |
getNullLocationCd() |
String |
getNullModifierCd() |
String |
getNullUnitCd() |
String |
getNullValueFlagCd() |
String |
getNullValueTypeCd() |
ZoneId |
getTimeZone() |
boolean |
isDefaultProviderId(String providerId) |
boolean |
isNullLocationCd(String locationCd) |
void |
setTimeZone(ZoneId zone) |
public void setTimeZone(ZoneId zone)
public String getDefaultProviderId()
public String getNullUnitCd()
public String getNullLocationCd()
public ZoneId getTimeZone()
public String getNullModifierCd()
public String getNullValueFlagCd()
public String getNullValueTypeCd()
public Timestamp encodeInstantPartial(DateTimeAccuracy instant)
public DateTimeAccuracy decodeInstantPartial(Timestamp timestamp)
public boolean isDefaultProviderId(String providerId)
public boolean isNullLocationCd(String locationCd)
public AbnormalFlag decodeValueFlagCd(String value_flag_cd)
Copyright © 2013–2017 R.W.Majeed. All rights reserved.