Search in sources :

Example 1 with DateFormatFactory

use of io.questdb.std.datetime.millitime.DateFormatFactory in project questdb by bluestreak01.

the class TypeManagerTest method createTypeManager.

private TypeManager createTypeManager(String fileResource) throws JsonException {
    InputFormatConfiguration inputFormatConfiguration = new InputFormatConfiguration(new DateFormatFactory(), DateLocaleFactory.INSTANCE, new TimestampFormatFactory(), DateFormatUtils.enLocale);
    inputFormatConfiguration.parseConfiguration(jsonLexer, fileResource);
    return new TypeManager(new DefaultTextConfiguration(fileResource), utf8Sink);
}
Also used : DateFormatFactory(io.questdb.std.datetime.millitime.DateFormatFactory) TimestampFormatFactory(io.questdb.std.datetime.microtime.TimestampFormatFactory) DefaultTextConfiguration(io.questdb.cutlass.text.DefaultTextConfiguration)

Aggregations

DefaultTextConfiguration (io.questdb.cutlass.text.DefaultTextConfiguration)1 TimestampFormatFactory (io.questdb.std.datetime.microtime.TimestampFormatFactory)1 DateFormatFactory (io.questdb.std.datetime.millitime.DateFormatFactory)1