use of io.questdb.cairo.sql.VirtualRecord in project questdb by bluestreak01.
the class NullRecordFactory method getInstance.
public static Record getInstance(ColumnTypes types) {
final ObjList<Function> functions = new ObjList<>(types.getColumnCount());
for (int i = 0, n = types.getColumnCount(); i < n; i++) {
Function function = Constants.getNullConstant(types.getColumnType(i));
assert function != null;
functions.add(function);
}
return new VirtualRecord(functions);
}
Aggregations