Skip to content

Commit 3f6957b

Browse files
committed
Added docs
1 parent 47025d5 commit 3f6957b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

document-store/src/main/java/org/hypertrace/core/documentstore/expression/impl/DataType.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ public enum DataType {
2222
FLOAT,
2323
DOUBLE,
2424
BOOLEAN,
25+
// timestamp with time-zone information. For example: 2004-10-19 10:23:54+02.
26+
// For more info, see: https://www.postgresql.org/docs/current/datatype-datetime.html
2527
TIMESTAMPTZ,
2628
DATE
2729
}

document-store/src/main/java/org/hypertrace/core/documentstore/expression/impl/IdentifierExpression.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ public static IdentifierExpression ofBoolean(final String name) {
7373
return of(name, DataType.BOOLEAN);
7474
}
7575

76+
// Timestamp with time-zone information. For example: 2004-10-19 10:23:54+02. For more info, see:
77+
// https://www.postgresql.org/docs/current/datatype-datetime.html
7678
public static IdentifierExpression ofTimestampTz(final String name) {
7779
return of(name, DataType.TIMESTAMPTZ);
7880
}

0 commit comments

Comments
 (0)