Skip to content

Commit 60669b5

Browse files
committed
Added support of future types
1 parent f7d1060 commit 60669b5

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

jdbc/src/main/java/tech/ydb/jdbc/common/FixedResultSetFactory.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,22 @@ public Duration getInterval() {
317317
return value.getInterval();
318318
}
319319

320+
public LocalDate getDate32() {
321+
return value.getDate();
322+
}
323+
324+
public LocalDateTime getDatetime64() {
325+
return value.getDatetime();
326+
}
327+
328+
public Instant getTimestamp64() {
329+
return value.getTimestamp();
330+
}
331+
332+
public Duration getInterval64() {
333+
return value.getInterval();
334+
}
335+
320336
@Override
321337
public ZonedDateTime getTzDate() {
322338
return value.getTzDate();

0 commit comments

Comments
 (0)