id
stringlengths
7
14
test_class
dict
test_case
dict
focal_class
dict
focal_method
dict
repository
dict
19257422_103
{ "fields": [ { "declarator": "function = new SymbolFunction(25) {\n @Override\n public int getInt(Record rec) {\n return 0;\n }\n\n @Override\n public CharSequence getSymbol(Record rec) {\n return \"XYZ\";\n }\n\n @Override\n pub...
{ "body": "@Test(expected = UnsupportedOperationException.class)\n public void testGetBool() {\n function.getBool(null);\n }", "class_method_signature": "SymbolFunctionTest.testGetBool()", "constructor": false, "full_signature": "@Test(expected = UnsupportedOperationException.class) public void tes...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/SymbolFunction.java", "identifier": "SymbolFun...
{ "body": "@Override\n public final boolean getBool(Record rec) {\n throw new UnsupportedOperationException();\n }", "class_method_signature": "SymbolFunction.getBool(Record rec)", "constructor": false, "full_signature": "@Override public final boolean getBool(Record rec)", "identifier": "getBool...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_380
{ "fields": [], "file": "core/src/test/java/io/questdb/griffin/FunctionParserTest.java", "identifier": "FunctionParserTest", "interfaces": "", "superclass": "extends BaseFunctionFactoryTest" }
{ "body": "@Test\n public void testByteAndShortToIntCast() throws SqlException {\n functions.add(new AddIntFunctionFactory());\n final GenericRecordMetadata metadata = new GenericRecordMetadata();\n metadata.add(new TableColumnMetadata(\"a\", ColumnType.BYTE));\n metadata.add(new TableC...
{ "fields": [ { "declarator": "LOG = LogFactory.getLog(FunctionParser.class)", "modifier": "private static final", "original_string": "private static final Log LOG = LogFactory.getLog(FunctionParser.class);", "type": "Log", "var_name": "LOG" }, { "declarator": "MATCH_NO...
{ "body": "public Function parseFunction(\n ExpressionNode node,\n RecordMetadata metadata,\n SqlExecutionContext executionContext\n ) throws SqlException {\n\n this.sqlExecutionContext = executionContext;\n\n if (this.metadata != null) {\n metadataStack.pu...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_695
{ "fields": [ { "declarator": "sink = new StringSink()", "modifier": "private final", "original_string": "private final StringSink sink = new StringSink();", "type": "StringSink", "var_name": "sink" } ], "file": "core/src/test/java/io/questdb/std/microtime/TimestampsTest.java...
{ "body": "@Test\n public void testAddMonthsPrevEpoch() throws Exception {\n long micros = TimestampFormatUtils.parseDateTime(\"1888-05-12T23:45:51.045Z\");\n TimestampFormatUtils.appendDateTime(sink, Timestamps.addMonths(micros, -10));\n TestUtils.assertEquals(\"1887-07-12T23:45:51.045Z\", si...
{ "fields": [ { "declarator": "WEEK_MICROS = 604800000000L", "modifier": "public static final", "original_string": "public static final long WEEK_MICROS = 604800000000L;", "type": "long", "var_name": "WEEK_MICROS" }, { "declarator": "DAY_MICROS = 86400000000L", "m...
{ "body": "public static long addMonths(final long micros, int months) {\n if (months == 0) {\n return micros;\n }\n int y = Timestamps.getYear(micros);\n boolean l = Timestamps.isLeapYear(y);\n int m = getMonthOfYear(micros, y, l);\n int _y;\n int _m = m - ...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_318
{ "fields": [], "file": "core/src/test/java/io/questdb/griffin/engine/functions/constants/ByteConstantTest.java", "identifier": "ByteConstantTest", "interfaces": "", "superclass": "" }
{ "body": "@Test\n public void testConstant() {\n ByteConstant constant = new ByteConstant(0, (byte) 45);\n Assert.assertTrue(constant.isConstant());\n Assert.assertEquals(45, constant.getByte(null));\n }", "class_method_signature": "ByteConstantTest.testConstant()", "constructor": fals...
{ "fields": [ { "declarator": "value", "modifier": "private final", "original_string": "private final byte value;", "type": "byte", "var_name": "value" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/constants/ByteConstant.java", "identifier": "ByteCons...
{ "body": "@Override\n public byte getByte(Record rec) {\n return value;\n }", "class_method_signature": "ByteConstant.getByte(Record rec)", "constructor": false, "full_signature": "@Override public byte getByte(Record rec)", "identifier": "getByte", "invocations": [], "modifiers": "@Override...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_174
{ "fields": [ { "declarator": "function = new TimestampFunction(25) {\n @Override\n public long getTimestamp(Record rec) {\n return 145000L;\n }\n }", "modifier": "private static final", "original_string": "private static final TimestampFunction function = new ...
{ "body": "@Test\n public void testGetPosition() {\n Assert.assertEquals(25, function.getPosition());\n }", "class_method_signature": "TimestampFunctionTest.testGetPosition()", "constructor": false, "full_signature": "@Test public void testGetPosition()", "identifier": "testGetPosition", "invoc...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/TimestampFunction.java", "identifier": "Timest...
{ "body": "@Override\n public int getPosition() {\n return position;\n }", "class_method_signature": "TimestampFunction.getPosition()", "constructor": false, "full_signature": "@Override public int getPosition()", "identifier": "getPosition", "invocations": [], "modifiers": "@Override public"...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_524
{ "fields": [ { "declarator": "LOG = LogFactory.getLog(ReaderPoolTest.class)", "modifier": "private static final", "original_string": "private static final Log LOG = LogFactory.getLog(ReaderPoolTest.class);", "type": "Log", "var_name": "LOG" } ], "file": "core/src/test/java/i...
{ "body": "@Test\n public void testBasicCharSequence() throws Exception {\n\n try (TableModel model = new TableModel(configuration, \"x\", PartitionBy.NONE).col(\"ts\", ColumnType.DATE)) {\n CairoTestUtils.create(model);\n }\n\n assertWithPool(pool -> {\n sink.clear();\n ...
{ "fields": [ { "declarator": "LOG = LogFactory.getLog(ReaderPool.class)", "modifier": "private static final", "original_string": "private static final Log LOG = LogFactory.getLog(ReaderPool.class);", "type": "Log", "var_name": "LOG" }, { "declarator": "UNLOCKED = -1L",...
{ "body": "@Override\n public TableReader get(CharSequence name) {\n\n Entry e = getEntry(name);\n\n long lockOwner = e.lockOwner;\n long thread = Thread.currentThread().getId();\n\n if (lockOwner != UNLOCKED) {\n LOG.info().$('\\'').utf8(name).$(\"' is locked [owner=\").$(lo...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_461
{ "fields": [], "file": "core/src/test/java/io/questdb/cutlass/line/LineProtoMicroTimestampAdapterTest.java", "identifier": "LineProtoMicroTimestampAdapterTest", "interfaces": "", "superclass": "" }
{ "body": "@Test\n public void testRounding() throws NumericException {\n Assert.assertEquals(5679L, LineProtoMicroTimestampAdapter.INSTANCE.getMicros(\"5679\"));\n }", "class_method_signature": "LineProtoMicroTimestampAdapterTest.testRounding()", "constructor": false, "full_signature": "@Test publ...
{ "fields": [ { "declarator": "INSTANCE = new LineProtoMicroTimestampAdapter()", "modifier": "public static final", "original_string": "public static final LineProtoMicroTimestampAdapter INSTANCE = new LineProtoMicroTimestampAdapter();", "type": "LineProtoMicroTimestampAdapter", "var...
{ "body": "@Override\n public long getMicros(CharSequence value) throws NumericException {\n return Numbers.parseLong(value);\n }", "class_method_signature": "LineProtoMicroTimestampAdapter.getMicros(CharSequence value)", "constructor": false, "full_signature": "@Override public long getMicros(Char...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_573
{ "fields": [ { "declarator": "extractor = new FileNameExtractorCharSequence()", "modifier": "private static final", "original_string": "private static final FileNameExtractorCharSequence extractor = new FileNameExtractorCharSequence();", "type": "FileNameExtractorCharSequence", "var...
{ "body": "@Test\n public void testPathListTrailingSpace() {\n assertThat(\"[abc,d1]\", Chars.splitLpsz(\"abc d1 \"));\n }", "class_method_signature": "CharsTest.testPathListTrailingSpace()", "constructor": false, "full_signature": "@Test public void testPathListTrailingSpace()", "identifier":...
{ "fields": [ { "declarator": "CHAR_SEQUENCE_COMPARATOR = Chars::compare", "modifier": "public static final", "original_string": "public static final Comparator<CharSequence> CHAR_SEQUENCE_COMPARATOR = Chars::compare;", "type": "Comparator<CharSequence>", "var_name": "CHAR_SEQUENCE_C...
{ "body": "public static ObjList<Path> splitLpsz(CharSequence args) {\n final ObjList<Path> paths = new ObjList<>();\n int n = args.length();\n int lastLen = 0;\n int lastIndex = 0;\n boolean inQuote = false;\n for (int i = 0; i < n; i++) {\n char b = args.charAt(i...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_123
{ "fields": [ { "declarator": "function = new CursorFunction(25, null)", "modifier": "private static final", "original_string": "private static final CursorFunction function = new CursorFunction(25, null);", "type": "CursorFunction", "var_name": "function" } ], "file": "core/...
{ "body": "@Test(expected = UnsupportedOperationException.class)\n public void testGetByte() {\n function.getByte(null);\n }", "class_method_signature": "CursorFunctionTest.testGetByte()", "constructor": false, "full_signature": "@Test(expected = UnsupportedOperationException.class) public void tes...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" }, { "declarator": "factory", "modifier": "private final", "original_string": "private final Record...
{ "body": "@Override\n public final byte getByte(Record rec) {\n throw new UnsupportedOperationException();\n }", "class_method_signature": "CursorFunction.getByte(Record rec)", "constructor": false, "full_signature": "@Override public final byte getByte(Record rec)", "identifier": "getByte", "...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_436
{ "fields": [ { "declarator": "ENTITY_MANIPULATOR = (index, len, b) -> b", "modifier": "private static final", "original_string": "private static final ByteManipulator ENTITY_MANIPULATOR = (index, len, b) -> b;", "type": "ByteManipulator", "var_name": "ENTITY_MANIPULATOR" }, ...
{ "body": "@Test\n public void testOverrideIntWithByte() throws Exception {\n assertNoLeak(textLoader -> {\n String expected = \"f0\\tf1\\tf2\\tf3\\tf4\\tf5\\tf6\\tf7\\tf8\\tf9\\n\" +\n \"\\\"CMP2\\t8\\t8000\\t2.27636352181435\\t2015-01-29T19:15:09.000Z\\t2015-01-29T19:15:09.00...
{ "fields": [ { "declarator": "LOAD_JSON_METADATA = 0", "modifier": "public static final", "original_string": "public static final int LOAD_JSON_METADATA = 0;", "type": "int", "var_name": "LOAD_JSON_METADATA" }, { "declarator": "ANALYZE_STRUCTURE = 1", "modifier":...
{ "body": "public void setState(int state) {\n LOG.debug().$(\"state change [old=\").$(this.state).$(\", new=\").$(state).$(']').$();\n this.state = state;\n jsonLexer.clear();\n }", "class_method_signature": "TextLoader.setState(int state)", "constructor": false, "full_signature": "publ...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_50
{ "fields": [ { "declarator": "function = new DoubleFunction(25) {\n @Override\n public double getDouble(Record rec) {\n return 0;\n }\n }", "modifier": "private static final", "original_string": "private static final DoubleFunction function = new DoubleFunctio...
{ "body": "@Test(expected = UnsupportedOperationException.class)\n public void testGetLong() {\n function.getLong(null);\n }", "class_method_signature": "DoubleFunctionTest.testGetLong()", "constructor": false, "full_signature": "@Test(expected = UnsupportedOperationException.class) public void tes...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/DoubleFunction.java", "identifier": "DoubleFun...
{ "body": "@Override\n public final long getLong(Record rec) {\n throw new UnsupportedOperationException();\n }", "class_method_signature": "DoubleFunction.getLong(Record rec)", "constructor": false, "full_signature": "@Override public final long getLong(Record rec)", "identifier": "getLong", "...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_709
{ "fields": [ { "declarator": "sink = new StringSink()", "modifier": "private final", "original_string": "private final StringSink sink = new StringSink();", "type": "StringSink", "var_name": "sink" } ], "file": "core/src/test/java/io/questdb/std/microtime/TimestampsTest.java...
{ "body": "@Test\n public void testMonthsBetween() throws Exception {\n // a < b, same year\n Assert.assertEquals(2,\n Timestamps.getMonthsBetween(\n TimestampFormatUtils.parseDateTime(\"2014-05-12T23:45:51.045Z\"),\n TimestampFormatUtils.p...
{ "fields": [ { "declarator": "WEEK_MICROS = 604800000000L", "modifier": "public static final", "original_string": "public static final long WEEK_MICROS = 604800000000L;", "type": "long", "var_name": "WEEK_MICROS" }, { "declarator": "DAY_MICROS = 86400000000L", "m...
{ "body": "public static long getMonthsBetween(long a, long b) {\n if (b < a) {\n return getMonthsBetween(b, a);\n }\n\n int aYear = getYear(a);\n int bYear = getYear(b);\n boolean aLeap = isLeapYear(aYear);\n boolean bLeap = isLeapYear(bYear);\n int aMonth ...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_359
{ "fields": [], "file": "core/src/test/java/io/questdb/griffin/SqlCodeGeneratorTest.java", "identifier": "SqlCodeGeneratorTest", "interfaces": "", "superclass": "extends AbstractGriffinTest" }
{ "body": "@Test\n public void testFilterOnSubQueryIndexedFiltered() throws Exception {\n\n TestMatchFunctionFactory.clear();\n\n final String expected = \"a\\tb\\tk\\n\" +\n \"11.427984775756228\\t\\t1970-01-01T00:00:00.000000Z\\n\" +\n \"23.90529010846525\\tRXGZ\\t1970...
{ "fields": [ { "declarator": "GKK_VANILLA_INT = 0", "modifier": "public static final", "original_string": "public static final int GKK_VANILLA_INT = 0;", "type": "int", "var_name": "GKK_VANILLA_INT" }, { "declarator": "GKK_HOUR_INT = 1", "modifier": "public stati...
{ "body": "@Override\n public void clear() {\n whereClauseParser.clear();\n }", "class_method_signature": "SqlCodeGenerator.clear()", "constructor": false, "full_signature": "@Override public void clear()", "identifier": "clear", "invocations": [ "clear" ], "modifiers": "@Override publi...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_135
{ "fields": [ { "declarator": "function = new CursorFunction(25, null)", "modifier": "private static final", "original_string": "private static final CursorFunction function = new CursorFunction(25, null);", "type": "CursorFunction", "var_name": "function" } ], "file": "core/...
{ "body": "@Test(expected = UnsupportedOperationException.class)\n public void testGetStr() {\n function.getStr(null);\n }", "class_method_signature": "CursorFunctionTest.testGetStr()", "constructor": false, "full_signature": "@Test(expected = UnsupportedOperationException.class) public void testGe...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" }, { "declarator": "factory", "modifier": "private final", "original_string": "private final Record...
{ "body": "@Override\n public final CharSequence getStr(Record rec) {\n throw new UnsupportedOperationException();\n }", "class_method_signature": "CursorFunction.getStr(Record rec)", "constructor": false, "full_signature": "@Override public final CharSequence getStr(Record rec)", "identifier": "...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_565
{ "fields": [ { "declarator": "FF = FilesFacadeImpl.INSTANCE", "modifier": "private final static", "original_string": "private final static FilesFacade FF = FilesFacadeImpl.INSTANCE;", "type": "FilesFacade", "var_name": "FF" }, { "declarator": "temp = new TemporaryFolde...
{ "body": "@Test\n public void testForeignDirectory() {\n try (Path path = new Path()) {\n Assert.assertEquals(TABLE_RESERVED, TableUtils.exists(FF, path, temp.getRoot().getAbsolutePath(), \"\"));\n }\n }", "class_method_signature": "TableUtilsTest.testForeignDirectory()", "construc...
{ "fields": [ { "declarator": "TABLE_EXISTS = 0", "modifier": "public static final", "original_string": "public static final int TABLE_EXISTS = 0;", "type": "int", "var_name": "TABLE_EXISTS" }, { "declarator": "TABLE_DOES_NOT_EXIST = 1", "modifier": "public static...
{ "body": "public static int exists(FilesFacade ff, Path path, CharSequence root, CharSequence name) {\n return exists(ff, path, root, name, 0, name.length());\n }", "class_method_signature": "TableUtils.exists(FilesFacade ff, Path path, CharSequence root, CharSequence name)", "constructor": false, "f...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_46
{ "fields": [ { "declarator": "function = new DoubleFunction(25) {\n @Override\n public double getDouble(Record rec) {\n return 0;\n }\n }", "modifier": "private static final", "original_string": "private static final DoubleFunction function = new DoubleFunctio...
{ "body": "@Test(expected = UnsupportedOperationException.class)\n public void testGetByte() {\n function.getByte(null);\n }", "class_method_signature": "DoubleFunctionTest.testGetByte()", "constructor": false, "full_signature": "@Test(expected = UnsupportedOperationException.class) public void tes...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/DoubleFunction.java", "identifier": "DoubleFun...
{ "body": "@Override\n public final byte getByte(Record rec) {\n throw new UnsupportedOperationException();\n }", "class_method_signature": "DoubleFunction.getByte(Record rec)", "constructor": false, "full_signature": "@Override public final byte getByte(Record rec)", "identifier": "getByte", "...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_420
{ "fields": [ { "declarator": "request = \"GET /status?x=1&a=%26b&c&d=x HTTP/1.1\\r\\n\" +\n \"Host: localhost:9000\\r\\n\" +\n \"Connection: keep-alive\\r\\n\" +\n \"Cache-Control: max-age=0\\r\\n\" +\n \"Accept: text/html,application/xhtml+xml,application/xml;q=...
{ "body": "@Test\n public void testContentTypeAndCharsetAndDanglingBoundary() throws Exception {\n TestUtils.assertMemoryLeak(() -> {\n String v = \"Content-Type: text/html; charset=utf-8; \\r\\n\" +\n \"\\r\\n\";\n long p = TestUtils.toMemory(v);\n try (H...
{ "fields": [ { "declarator": "CONTENT_DISPOSITION_HEADER = \"Content-Disposition\"", "modifier": "private static final", "original_string": "private static final String CONTENT_DISPOSITION_HEADER = \"Content-Disposition\";", "type": "String", "var_name": "CONTENT_DISPOSITION_HEADER"...
{ "body": "public long parse(long ptr, long hi, boolean _method) {\n long p;\n if (_method && needMethod) {\n int l = parseMethod(ptr, hi);\n p = ptr + l;\n } else {\n p = ptr;\n }\n\n DirectByteCharSequence v;\n\n while (p < hi) {\n ...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_532
{ "fields": [ { "declarator": "LOG = LogFactory.getLog(ReaderPoolTest.class)", "modifier": "private static final", "original_string": "private static final Log LOG = LogFactory.getLog(ReaderPoolTest.class);", "type": "Log", "var_name": "LOG" } ], "file": "core/src/test/java/i...
{ "body": "@Test\n public void testGetMultipleReaders() throws Exception {\n assertWithPool(pool -> {\n ObjHashSet<TableReader> readers = new ObjHashSet<>();\n for (int i = 0; i < 64; i++) {\n Assert.assertTrue(readers.add(pool.get(\"u\")));\n }\n f...
{ "fields": [ { "declarator": "LOG = LogFactory.getLog(ReaderPool.class)", "modifier": "private static final", "original_string": "private static final Log LOG = LogFactory.getLog(ReaderPool.class);", "type": "Log", "var_name": "LOG" }, { "declarator": "UNLOCKED = -1L",...
{ "body": "@Override\n public TableReader get(CharSequence name) {\n\n Entry e = getEntry(name);\n\n long lockOwner = e.lockOwner;\n long thread = Thread.currentThread().getId();\n\n if (lockOwner != UNLOCKED) {\n LOG.info().$('\\'').utf8(name).$(\"' is locked [owner=\").$(lo...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_162
{ "fields": [ { "declarator": "functionA = new BooleanFunction(25) {\n @Override\n public boolean getBool(Record rec) {\n return false;\n }\n\n @Override\n public void init(SymbolTableSource symbolTableSource, SqlExecutionContext executionContext) {\n }\n...
{ "body": "@Test(expected = UnsupportedOperationException.class)\n public void testLong256B() {\n functionA.getLong256B(null);\n }", "class_method_signature": "BooleanFunctionTest.testLong256B()", "constructor": false, "full_signature": "@Test(expected = UnsupportedOperationException.class) public ...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/BooleanFunction.java", "identifier": "BooleanF...
{ "body": "@Override\n public final Long256 getLong256B(Record rec) {\n throw new UnsupportedOperationException();\n }", "class_method_signature": "BooleanFunction.getLong256B(Record rec)", "constructor": false, "full_signature": "@Override public final Long256 getLong256B(Record rec)", "identifi...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_498
{ "fields": [ { "declarator": "PRODUCT = \"product\"", "modifier": "public static final", "original_string": "public static final String PRODUCT = \"product\";", "type": "String", "var_name": "PRODUCT" }, { "declarator": "FF = FilesFacadeImpl.INSTANCE", "modifier"...
{ "body": "@Test\n public void testToString() throws Exception {\n TestUtils.assertMemoryLeak(() -> {\n create(FF, PartitionBy.NONE, 4);\n try (TableWriter writer = new TableWriter(configuration, PRODUCT)) {\n Assert.assertEquals(\"TableWriter{name=product}\", writer.toS...
{ "fields": [ { "declarator": "LOG = LogFactory.getLog(TableWriter.class)", "modifier": "private static final", "original_string": "private static final Log LOG = LogFactory.getLog(TableWriter.class);", "type": "Log", "var_name": "LOG" }, { "declarator": "IGNORED_FILES ...
{ "body": "@Override\n public String toString() {\n return \"TableWriter{\" +\n \"name=\" + name +\n '}';\n }", "class_method_signature": "TableWriter.toString()", "constructor": false, "full_signature": "@Override public String toString()", "identifier": "toString",...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_477
{ "fields": [ { "declarator": "PRODUCT = \"product\"", "modifier": "public static final", "original_string": "public static final String PRODUCT = \"product\";", "type": "String", "var_name": "PRODUCT" }, { "declarator": "FF = FilesFacadeImpl.INSTANCE", "modifier"...
{ "body": "@Test\n public void tesFrequentCommit() throws Exception {\n TestUtils.assertMemoryLeak(() -> {\n int N = 100000;\n create(FF, PartitionBy.NONE, N);\n try (TableWriter writer = new TableWriter(configuration, PRODUCT)) {\n\n long ts = TimestampFormat...
{ "fields": [ { "declarator": "LOG = LogFactory.getLog(TableWriter.class)", "modifier": "private static final", "original_string": "private static final Log LOG = LogFactory.getLog(TableWriter.class);", "type": "Log", "var_name": "LOG" }, { "declarator": "IGNORED_FILES ...
{ "body": "public void commit() {\n commit(defaultCommitMode);\n }", "class_method_signature": "TableWriter.commit()", "constructor": false, "full_signature": "public void commit()", "identifier": "commit", "invocations": [ "commit" ], "modifiers": "public", "parameters": "()", "return...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_11
{ "fields": [ { "declarator": "function = new StrFunction(25) {\n @Override\n public CharSequence getStr(Record rec) {\n return \"a\";\n }\n\n @Override\n public CharSequence getStrB(Record rec) {\n return \"a\";\n }\n }", "modifier": ...
{ "body": "@Test(expected = UnsupportedOperationException.class)\n public void testGetMetadata() {\n function.getMetadata();\n }", "class_method_signature": "StrFunctionTest.testGetMetadata()", "constructor": false, "full_signature": "@Test(expected = UnsupportedOperationException.class) public voi...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/StrFunction.java", "identifier": "StrFunction"...
{ "body": "@Override\n public final RecordMetadata getMetadata() {\n throw new UnsupportedOperationException();\n }", "class_method_signature": "StrFunction.getMetadata()", "constructor": false, "full_signature": "@Override public final RecordMetadata getMetadata()", "identifier": "getMetadata", ...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_230
{ "fields": [ { "declarator": "function = new ByteFunction(25) {\n @Override\n public byte getByte(Record rec) {\n return 0;\n }\n }", "modifier": "private static final", "original_string": "private static final ByteFunction function = new ByteFunction(25) {\n ...
{ "body": "@Test(expected = UnsupportedOperationException.class)\n public void testLong256() {\n function.getLong256(null, null);\n }", "class_method_signature": "ByteFunctionTest.testLong256()", "constructor": false, "full_signature": "@Test(expected = UnsupportedOperationException.class) public v...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/ByteFunction.java", "identifier": "ByteFunctio...
{ "body": "@Override\n public final void getLong256(Record rec, CharSink sink) {\n throw new UnsupportedOperationException();\n }", "class_method_signature": "ByteFunction.getLong256(Record rec, CharSink sink)", "constructor": false, "full_signature": "@Override public final void getLong256(Record ...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_660
{ "fields": [ { "declarator": "sink = new StringSink()", "modifier": "private final", "original_string": "private final StringSink sink = new StringSink();", "type": "StringSink", "var_name": "sink" }, { "declarator": "rnd", "modifier": "private", "original_...
{ "body": "@Test\n public void testRoundHalfEven() throws Exception {\n Assert.assertEquals(-1.235, Numbers.roundHalfEven(-1.2346, 3), Numbers.TOLERANCE);\n Assert.assertEquals(-1.2349, Numbers.roundHalfEven(-1.234899, 5), Numbers.TOLERANCE);\n Assert.assertEquals(1.2349, Numbers.roundHalfEven...
{ "fields": [ { "declarator": "INT_NaN = Integer.MIN_VALUE", "modifier": "public static final", "original_string": "public static final int INT_NaN = Integer.MIN_VALUE;", "type": "int", "var_name": "INT_NaN" }, { "declarator": "LONG_NaN = Long.MIN_VALUE", "modifie...
{ "body": "public static double roundHalfEven(double value, int scale) throws NumericException {\n if (scale + 2 < pow10max && scale > -pow10max) {\n return value > 0 ? roundHalfEven0(value, scale) : -roundHalfEven0(-value, scale);\n }\n throw NumericException.INSTANCE;\n }", "cla...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_375
{ "fields": [], "file": "core/src/test/java/io/questdb/griffin/SqlCodeGeneratorTest.java", "identifier": "SqlCodeGeneratorTest", "interfaces": "", "superclass": "extends AbstractGriffinTest" }
{ "body": "@Test\n public void testLatestBySubQueryFiltered() throws Exception {\n TestMatchFunctionFactory.clear();\n // no index\n assertQuery(\"a\\tb\\tk\\n\" +\n \"23.90529010846525\\tRXGZ\\t1970-01-03T07:33:20.000000Z\\n\" +\n \"12.02612241283...
{ "fields": [ { "declarator": "GKK_VANILLA_INT = 0", "modifier": "public static final", "original_string": "public static final int GKK_VANILLA_INT = 0;", "type": "int", "var_name": "GKK_VANILLA_INT" }, { "declarator": "GKK_HOUR_INT = 1", "modifier": "public stati...
{ "body": "@Override\n public void clear() {\n whereClauseParser.clear();\n }", "class_method_signature": "SqlCodeGenerator.clear()", "constructor": false, "full_signature": "@Override public void clear()", "identifier": "clear", "invocations": [ "clear" ], "modifiers": "@Override publi...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_85
{ "fields": [ { "declarator": "function = new IntFunction(25) {\n @Override\n public int getInt(Record rec) {\n return 150;\n }\n }", "modifier": "private static final", "original_string": "private static final IntFunction function = new IntFunction(25) {\n ...
{ "body": "@Test(expected = UnsupportedOperationException.class)\n public void testGetBool() {\n function.getBool(null);\n }", "class_method_signature": "IntFunctionTest.testGetBool()", "constructor": false, "full_signature": "@Test(expected = UnsupportedOperationException.class) public void testGe...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/IntFunction.java", "identifier": "IntFunction"...
{ "body": "@Override\n public final boolean getBool(Record rec) {\n throw new UnsupportedOperationException();\n }", "class_method_signature": "IntFunction.getBool(Record rec)", "constructor": false, "full_signature": "@Override public final boolean getBool(Record rec)", "identifier": "getBool", ...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_549
{ "fields": [], "file": "core/src/test/java/io/questdb/cairo/NullColumnTest.java", "identifier": "NullColumnTest", "interfaces": "", "superclass": "" }
{ "body": "@Test\n public void getBinLen() {\n Assert.assertEquals(TableUtils.NULL_LEN, NullColumn.INSTANCE.getBinLen(1234));\n }", "class_method_signature": "NullColumnTest.getBinLen()", "constructor": false, "full_signature": "@Test public void getBinLen()", "identifier": "getBinLen", "invoca...
{ "fields": [ { "declarator": "INSTANCE = new NullColumn()", "modifier": "public static final", "original_string": "public static final NullColumn INSTANCE = new NullColumn();", "type": "NullColumn", "var_name": "INSTANCE" } ], "file": "core/src/main/java/io/questdb/cairo/Nul...
{ "body": "@Override\n public long getBinLen(long offset) {\n return TableUtils.NULL_LEN;\n }", "class_method_signature": "NullColumn.getBinLen(long offset)", "constructor": false, "full_signature": "@Override public long getBinLen(long offset)", "identifier": "getBinLen", "invocations": [], ...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_119
{ "fields": [ { "declarator": "function = new SymbolFunction(25) {\n @Override\n public int getInt(Record rec) {\n return 0;\n }\n\n @Override\n public CharSequence getSymbol(Record rec) {\n return \"XYZ\";\n }\n\n @Override\n pub...
{ "body": "@Test(expected = UnsupportedOperationException.class)\n public void testLong256B() {\n function.getLong256B(null);\n }", "class_method_signature": "SymbolFunctionTest.testLong256B()", "constructor": false, "full_signature": "@Test(expected = UnsupportedOperationException.class) public vo...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/SymbolFunction.java", "identifier": "SymbolFun...
{ "body": "@Override\n public Long256 getLong256B(Record rec) {\n throw new UnsupportedOperationException();\n }", "class_method_signature": "SymbolFunction.getLong256B(Record rec)", "constructor": false, "full_signature": "@Override public Long256 getLong256B(Record rec)", "identifier": "getLong...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_637
{ "fields": [ { "declarator": "sink = new StringSink()", "modifier": "private final", "original_string": "private final StringSink sink = new StringSink();", "type": "StringSink", "var_name": "sink" }, { "declarator": "rnd", "modifier": "private", "original_...
{ "body": "@Test(expected = NumericException.class)\n public void testParseLongNull2() throws Exception {\n Numbers.parseLong(null, 0, 10);\n }", "class_method_signature": "NumbersTest.testParseLongNull2()", "constructor": false, "full_signature": "@Test(expected = NumericException.class) public vo...
{ "fields": [ { "declarator": "INT_NaN = Integer.MIN_VALUE", "modifier": "public static final", "original_string": "public static final int INT_NaN = Integer.MIN_VALUE;", "type": "int", "var_name": "INT_NaN" }, { "declarator": "LONG_NaN = Long.MIN_VALUE", "modifie...
{ "body": "public static long parseLong(CharSequence sequence) throws NumericException {\n if (sequence == null) {\n throw NumericException.INSTANCE;\n }\n return parseLong0(sequence, 0, sequence.length());\n }", "class_method_signature": "Numbers.parseLong(CharSequence sequence)"...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_267
{ "fields": [ { "declarator": "function = new ShortFunction(25) {\n @Override\n public short getShort(Record rec) {\n return 0;\n }\n }", "modifier": "private static final", "original_string": "private static final ShortFunction function = new ShortFunction(25)...
{ "body": "@Test(expected = UnsupportedOperationException.class)\n public void testGetTimestamp() {\n function.getTimestamp(null);\n }", "class_method_signature": "ShortFunctionTest.testGetTimestamp()", "constructor": false, "full_signature": "@Test(expected = UnsupportedOperationException.class) p...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/ShortFunction.java", "identifier": "ShortFunct...
{ "body": "@Override\n public long getTimestamp(Record rec) {\n throw new UnsupportedOperationException();\n }", "class_method_signature": "ShortFunction.getTimestamp(Record rec)", "constructor": false, "full_signature": "@Override public long getTimestamp(Record rec)", "identifier": "getTimestam...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_288
{ "fields": [ { "declarator": "function = new DateFunction(25) {\n @Override\n public long getDate(Record rec) {\n return 163;\n }\n }", "modifier": "private static final", "original_string": "private static final DateFunction function = new DateFunction(25) {\...
{ "body": "@Test\n public void testGetTimestamp() {\n Assert.assertEquals(163000, function.getTimestamp(null));\n }", "class_method_signature": "DateFunctionTest.testGetTimestamp()", "constructor": false, "full_signature": "@Test public void testGetTimestamp()", "identifier": "testGetTimestamp", ...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/DateFunction.java", "identifier": "DateFunctio...
{ "body": "@Override\n public final long getTimestamp(Record rec) {\n final long value = getDate(rec);\n return value == Numbers.LONG_NaN ? value : value * 1000L;\n }", "class_method_signature": "DateFunction.getTimestamp(Record rec)", "constructor": false, "full_signature": "@Override publi...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_322
{ "fields": [ { "declarator": "FACTORY = ExpressionNode.FACTORY", "modifier": "public static final", "original_string": "public static final ObjectFactory<ExpressionNode> FACTORY = ExpressionNode.FACTORY;", "type": "ObjectFactory<ExpressionNode>", "var_name": "FACTORY" } ], "...
{ "body": "@Test\n public void testNodeTraversal10() {\n ExpressionNode n1 = FACTORY.newInstance();\n ExpressionNode n2 = FACTORY.newInstance();\n //\n n1.type = FUNCTION;\n n1.token = \"func\";\n n1.rhs = FACTORY.newInstance();\n n1.rhs.type = LITERAL;\n //\...
{ "fields": [], "file": "core/src/main/java/io/questdb/griffin/engine/groupby/GroupByUtils.java", "identifier": "GroupByUtils", "interfaces": "", "methods": [ { "class_method_signature": "GroupByUtils.checkGroupBy(ObjList<ExpressionNode> groupBys, ObjList<QueryColumn> selectColumns, int groupByColum...
{ "body": "public static boolean compareNodes(ExpressionNode groupBy, ExpressionNode selectNode) {\n if (groupBy == null && selectNode == null) {\n return true;\n }\n\n if (groupBy == null || selectNode == null || groupBy.type != selectNode.type) {\n return false;\n }...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_271
{ "fields": [ { "declarator": "function = new DateFunction(25) {\n @Override\n public long getDate(Record rec) {\n return 163;\n }\n }", "modifier": "private static final", "original_string": "private static final DateFunction function = new DateFunction(25) {\...
{ "body": "@Test(expected = UnsupportedOperationException.class)\n public void testGetBin() {\n function.getBin(null);\n }", "class_method_signature": "DateFunctionTest.testGetBin()", "constructor": false, "full_signature": "@Test(expected = UnsupportedOperationException.class) public void testGetB...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/DateFunction.java", "identifier": "DateFunctio...
{ "body": "@Override\n public final BinarySequence getBin(Record rec) {\n throw new UnsupportedOperationException();\n }", "class_method_signature": "DateFunction.getBin(Record rec)", "constructor": false, "full_signature": "@Override public final BinarySequence getBin(Record rec)", "identifier":...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_621
{ "fields": [ { "declarator": "sink = new StringSink()", "modifier": "private final", "original_string": "private final StringSink sink = new StringSink();", "type": "StringSink", "var_name": "sink" }, { "declarator": "rnd", "modifier": "private", "original_...
{ "body": "@Test\n public void testParseDouble() throws Exception {\n\n String s9 = \"0.33458980809808359835083490580348503845E203\";\n Assert.assertEquals(Double.parseDouble(s9), Numbers.parseDouble(s9), 0.000000001);\n\n String s0 = \"0.33458980809808359835083490580348503845\";\n Asse...
{ "fields": [ { "declarator": "INT_NaN = Integer.MIN_VALUE", "modifier": "public static final", "original_string": "public static final int INT_NaN = Integer.MIN_VALUE;", "type": "int", "var_name": "INT_NaN" }, { "declarator": "LONG_NaN = Long.MIN_VALUE", "modifie...
{ "body": "public static double parseDouble(CharSequence sequence) throws NumericException {\n int lim = sequence.length();\n\n if (lim == 0) {\n throw NumericException.INSTANCE;\n }\n\n boolean negative = sequence.charAt(0) == '-';\n int i;\n if (negative) {\n ...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_334
{ "fields": [ { "declarator": "FACTORY = ExpressionNode.FACTORY", "modifier": "public static final", "original_string": "public static final ObjectFactory<ExpressionNode> FACTORY = ExpressionNode.FACTORY;", "type": "ObjectFactory<ExpressionNode>", "var_name": "FACTORY" } ], "...
{ "body": "@Test\n public void testNodeTraversal21() {\n ExpressionNode n1 = FACTORY.newInstance();\n ExpressionNode n2 = FACTORY.newInstance();\n ExpressionNode arg = FACTORY.newInstance();\n\n arg.type = FUNCTION;\n arg.token = \"func\";\n arg.lhs = FACTORY.newInstance()...
{ "fields": [], "file": "core/src/main/java/io/questdb/griffin/engine/groupby/GroupByUtils.java", "identifier": "GroupByUtils", "interfaces": "", "methods": [ { "class_method_signature": "GroupByUtils.checkGroupBy(ObjList<ExpressionNode> groupBys, ObjList<QueryColumn> selectColumns, int groupByColum...
{ "body": "public static boolean compareNodes(ExpressionNode groupBy, ExpressionNode selectNode) {\n if (groupBy == null && selectNode == null) {\n return true;\n }\n\n if (groupBy == null || selectNode == null || groupBy.type != selectNode.type) {\n return false;\n }...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_508
{ "fields": [ { "declarator": "MUST_SWITCH = 1", "modifier": "public static final", "original_string": "public static final int MUST_SWITCH = 1;", "type": "int", "var_name": "MUST_SWITCH" }, { "declarator": "MUST_NOT_SWITCH = 2", "modifier": "public static final",...
{ "body": "@Test\n public void testReadLong256Three() {\n try (TableModel model = new TableModel(configuration, \"w\", PartitionBy.DAY).col(\"l\", ColumnType.LONG256).timestamp()) {\n CairoTestUtils.create(model);\n }\n\n final int N = 1_000_000;\n final Rnd rnd = new Rnd();\...
{ "fields": [ { "declarator": "LOG = LogFactory.getLog(TableReader.class)", "modifier": "private static final", "original_string": "private static final Log LOG = LogFactory.getLog(TableReader.class);", "type": "Log", "var_name": "LOG" }, { "declarator": "YEAR_GEN = Tab...
{ "body": "public TableReaderRecordCursor getCursor() {\n recordCursor.toTop();\n return recordCursor;\n }", "class_method_signature": "TableReader.getCursor()", "constructor": false, "full_signature": "public TableReaderRecordCursor getCursor()", "identifier": "getCursor", "invocations": [...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_158
{ "fields": [ { "declarator": "functionA = new BooleanFunction(25) {\n @Override\n public boolean getBool(Record rec) {\n return false;\n }\n\n @Override\n public void init(SymbolTableSource symbolTableSource, SqlExecutionContext executionContext) {\n }\n...
{ "body": "@Test\n public void testGetSym() {\n Assert.assertEquals(\"false\", functionA.getSymbol(null));\n Assert.assertEquals(\"true\", functionB.getSymbol(null));\n }", "class_method_signature": "BooleanFunctionTest.testGetSym()", "constructor": false, "full_signature": "@Test public voi...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/BooleanFunction.java", "identifier": "BooleanF...
{ "body": "@Override\n public final CharSequence getSymbol(Record rec) {\n return getStr0(rec);\n }", "class_method_signature": "BooleanFunction.getSymbol(Record rec)", "constructor": false, "full_signature": "@Override public final CharSequence getSymbol(Record rec)", "identifier": "getSymbol", ...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_676
{ "fields": [], "file": "core/src/test/java/io/questdb/std/time/DateLocaleTest.java", "identifier": "DateLocaleTest", "interfaces": "", "superclass": "" }
{ "body": "@Test\n public void testLowCaseLongMonth() throws Exception {\n String date = \"23 december 2010\";\n long result = DateLocaleFactory.INSTANCE.getLocale(\"en-GB\").matchMonth(date, 3, date.length());\n Assert.assertEquals(8, Numbers.decodeHighInt(result));\n Assert.assertEqua...
{ "fields": [ { "declarator": "months = new IntObjHashMap<>()", "modifier": "private final", "original_string": "private final IntObjHashMap<ObjList<CharSequence>> months = new IntObjHashMap<>();", "type": "IntObjHashMap<ObjList<CharSequence>>", "var_name": "months" }, { ...
{ "body": "public long matchMonth(CharSequence content, int lo, int hi) throws NumericException {\n return findToken(content, lo, hi, months);\n }", "class_method_signature": "DateLocale.matchMonth(CharSequence content, int lo, int hi)", "constructor": false, "full_signature": "public long matchMonth(...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_226
{ "fields": [ { "declarator": "function = new ByteFunction(25) {\n @Override\n public byte getByte(Record rec) {\n return 0;\n }\n }", "modifier": "private static final", "original_string": "private static final ByteFunction function = new ByteFunction(25) {\n ...
{ "body": "@Test(expected = UnsupportedOperationException.class)\n public void testGetStrB() {\n function.getStrB(null);\n }", "class_method_signature": "ByteFunctionTest.testGetStrB()", "constructor": false, "full_signature": "@Test(expected = UnsupportedOperationException.class) public void testG...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/ByteFunction.java", "identifier": "ByteFunctio...
{ "body": "@Override\n public final CharSequence getStrB(Record rec) {\n throw new UnsupportedOperationException();\n }", "class_method_signature": "ByteFunction.getStrB(Record rec)", "constructor": false, "full_signature": "@Override public final CharSequence getStrB(Record rec)", "identifier": ...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_363
{ "fields": [], "file": "core/src/test/java/io/questdb/griffin/SqlCodeGeneratorTest.java", "identifier": "SqlCodeGeneratorTest", "interfaces": "", "superclass": "extends AbstractGriffinTest" }
{ "body": "@Test\n public void testFilterSingleNonExistingSymbolAndFilter() throws Exception {\n TestMatchFunctionFactory.clear();\n assertQuery(null,\n \"select * from x where b = 'ABC' and a > 30 and test_match()\",\n \"create table x as (select rnd_double(0)*100 a, rn...
{ "fields": [ { "declarator": "GKK_VANILLA_INT = 0", "modifier": "public static final", "original_string": "public static final int GKK_VANILLA_INT = 0;", "type": "int", "var_name": "GKK_VANILLA_INT" }, { "declarator": "GKK_HOUR_INT = 1", "modifier": "public stati...
{ "body": "@Override\n public void clear() {\n whereClauseParser.clear();\n }", "class_method_signature": "SqlCodeGenerator.clear()", "constructor": false, "full_signature": "@Override public void clear()", "identifier": "clear", "invocations": [ "clear" ], "modifiers": "@Override publi...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_699
{ "fields": [ { "declarator": "sink = new StringSink()", "modifier": "private final", "original_string": "private final StringSink sink = new StringSink();", "type": "StringSink", "var_name": "sink" } ], "file": "core/src/test/java/io/questdb/std/microtime/TimestampsTest.java...
{ "body": "@Test\n public void testAddYearsPrevEpoch() throws Exception {\n long micros = TimestampFormatUtils.parseDateTime(\"1888-05-12T23:45:51.045Z\");\n TimestampFormatUtils.appendDateTime(sink, Timestamps.addYear(micros, 10));\n TestUtils.assertEquals(\"1898-05-12T23:45:51.045Z\", sink);...
{ "fields": [ { "declarator": "WEEK_MICROS = 604800000000L", "modifier": "public static final", "original_string": "public static final long WEEK_MICROS = 604800000000L;", "type": "long", "var_name": "WEEK_MICROS" }, { "declarator": "DAY_MICROS = 86400000000L", "m...
{ "body": "public static long addYear(long micros, int years) {\n if (years == 0) {\n return micros;\n }\n\n int y = getYear(micros);\n int m;\n boolean leap1 = isLeapYear(y);\n boolean leap2 = isLeapYear(y + years);\n\n return yearMicros(y + years, leap2)\n...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_93
{ "fields": [ { "declarator": "function = new IntFunction(25) {\n @Override\n public int getInt(Record rec) {\n return 150;\n }\n }", "modifier": "private static final", "original_string": "private static final IntFunction function = new IntFunction(25) {\n ...
{ "body": "@Test(expected = UnsupportedOperationException.class)\n public void testGetStrB() {\n function.getStrB(null);\n }", "class_method_signature": "IntFunctionTest.testGetStrB()", "constructor": false, "full_signature": "@Test(expected = UnsupportedOperationException.class) public void testGe...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/IntFunction.java", "identifier": "IntFunction"...
{ "body": "@Override\n public final CharSequence getStrB(Record rec) {\n throw new UnsupportedOperationException();\n }", "class_method_signature": "IntFunction.getStrB(Record rec)", "constructor": false, "full_signature": "@Override public final CharSequence getStrB(Record rec)", "identifier": "...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_92
{ "fields": [ { "declarator": "function = new IntFunction(25) {\n @Override\n public int getInt(Record rec) {\n return 150;\n }\n }", "modifier": "private static final", "original_string": "private static final IntFunction function = new IntFunction(25) {\n ...
{ "body": "@Test(expected = UnsupportedOperationException.class)\n public void testGetStr2() {\n function.getStr(null, null);\n }", "class_method_signature": "IntFunctionTest.testGetStr2()", "constructor": false, "full_signature": "@Test(expected = UnsupportedOperationException.class) public void t...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/IntFunction.java", "identifier": "IntFunction"...
{ "body": "@Override\n public final CharSequence getStr(Record rec) {\n throw new UnsupportedOperationException();\n }", "class_method_signature": "IntFunction.getStr(Record rec)", "constructor": false, "full_signature": "@Override public final CharSequence getStr(Record rec)", "identifier": "get...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_677
{ "fields": [], "file": "core/src/test/java/io/questdb/std/time/DateLocaleTest.java", "identifier": "DateLocaleTest", "interfaces": "", "superclass": "" }
{ "body": "@Test\n public void testRTLMonth() throws Exception {\n String s = \"23مارس\";\n long result = DateLocaleFactory.INSTANCE.getLocale(\"ar-DZ\").matchMonth(s, 2, s.length());\n Assert.assertEquals(4, Numbers.decodeHighInt(result));\n Assert.assertEquals(2, Numbers.decodeLowInt(...
{ "fields": [ { "declarator": "months = new IntObjHashMap<>()", "modifier": "private final", "original_string": "private final IntObjHashMap<ObjList<CharSequence>> months = new IntObjHashMap<>();", "type": "IntObjHashMap<ObjList<CharSequence>>", "var_name": "months" }, { ...
{ "body": "public long matchMonth(CharSequence content, int lo, int hi) throws NumericException {\n return findToken(content, lo, hi, months);\n }", "class_method_signature": "DateLocale.matchMonth(CharSequence content, int lo, int hi)", "constructor": false, "full_signature": "public long matchMonth(...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_227
{ "fields": [ { "declarator": "function = new ByteFunction(25) {\n @Override\n public byte getByte(Record rec) {\n return 0;\n }\n }", "modifier": "private static final", "original_string": "private static final ByteFunction function = new ByteFunction(25) {\n ...
{ "body": "@Test(expected = UnsupportedOperationException.class)\n public void testGetStrLen() {\n function.getStrLen(null);\n }", "class_method_signature": "ByteFunctionTest.testGetStrLen()", "constructor": false, "full_signature": "@Test(expected = UnsupportedOperationException.class) public void...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/ByteFunction.java", "identifier": "ByteFunctio...
{ "body": "@Override\n public final int getStrLen(Record rec) {\n throw new UnsupportedOperationException();\n }", "class_method_signature": "ByteFunction.getStrLen(Record rec)", "constructor": false, "full_signature": "@Override public final int getStrLen(Record rec)", "identifier": "getStrLen",...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_362
{ "fields": [], "file": "core/src/test/java/io/questdb/griffin/SqlCodeGeneratorTest.java", "identifier": "SqlCodeGeneratorTest", "interfaces": "", "superclass": "extends AbstractGriffinTest" }
{ "body": "@Test\n public void testFilterSingleKeyValueAndField() throws Exception {\n TestMatchFunctionFactory.clear();\n\n final String expected = \"a\\tb\\n\" +\n \"52.98405941762054\\tHYRX\\n\" +\n \"72.30015763133606\\tHYRX\\n\";\n assertQuery(expected,\n// ...
{ "fields": [ { "declarator": "GKK_VANILLA_INT = 0", "modifier": "public static final", "original_string": "public static final int GKK_VANILLA_INT = 0;", "type": "int", "var_name": "GKK_VANILLA_INT" }, { "declarator": "GKK_HOUR_INT = 1", "modifier": "public stati...
{ "body": "@Override\n public void clear() {\n whereClauseParser.clear();\n }", "class_method_signature": "SqlCodeGenerator.clear()", "constructor": false, "full_signature": "@Override public void clear()", "identifier": "clear", "invocations": [ "clear" ], "modifiers": "@Override publi...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_698
{ "fields": [ { "declarator": "sink = new StringSink()", "modifier": "private final", "original_string": "private final StringSink sink = new StringSink();", "type": "StringSink", "var_name": "sink" } ], "file": "core/src/test/java/io/questdb/std/microtime/TimestampsTest.java...
{ "body": "@Test\n public void testAddYearsNonLeapToLeap() throws Exception {\n long micros = TimestampFormatUtils.parseDateTime(\"2015-01-01T00:00:00.000Z\");\n TimestampFormatUtils.appendDateTime(sink, Timestamps.addYear(micros, 1));\n TestUtils.assertEquals(\"2016-01-01T00:00:00.000Z\", sin...
{ "fields": [ { "declarator": "WEEK_MICROS = 604800000000L", "modifier": "public static final", "original_string": "public static final long WEEK_MICROS = 604800000000L;", "type": "long", "var_name": "WEEK_MICROS" }, { "declarator": "DAY_MICROS = 86400000000L", "m...
{ "body": "public static long addYear(long micros, int years) {\n if (years == 0) {\n return micros;\n }\n\n int y = getYear(micros);\n int m;\n boolean leap1 = isLeapYear(y);\n boolean leap2 = isLeapYear(y + years);\n\n return yearMicros(y + years, leap2)\n...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_509
{ "fields": [ { "declarator": "MUST_SWITCH = 1", "modifier": "public static final", "original_string": "public static final int MUST_SWITCH = 1;", "type": "int", "var_name": "MUST_SWITCH" }, { "declarator": "MUST_NOT_SWITCH = 2", "modifier": "public static final",...
{ "body": "@Test\n public void testReadLong256Four() {\n try (TableModel model = new TableModel(configuration, \"w\", PartitionBy.DAY).col(\"l\", ColumnType.LONG256).timestamp()) {\n CairoTestUtils.create(model);\n }\n\n final int N = 1_000_000;\n final Rnd rnd = new Rnd();\n...
{ "fields": [ { "declarator": "LOG = LogFactory.getLog(TableReader.class)", "modifier": "private static final", "original_string": "private static final Log LOG = LogFactory.getLog(TableReader.class);", "type": "Log", "var_name": "LOG" }, { "declarator": "YEAR_GEN = Tab...
{ "body": "public TableReaderRecordCursor getCursor() {\n recordCursor.toTop();\n return recordCursor;\n }", "class_method_signature": "TableReader.getCursor()", "constructor": false, "full_signature": "public TableReaderRecordCursor getCursor()", "identifier": "getCursor", "invocations": [...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_159
{ "fields": [ { "declarator": "functionA = new BooleanFunction(25) {\n @Override\n public boolean getBool(Record rec) {\n return false;\n }\n\n @Override\n public void init(SymbolTableSource symbolTableSource, SqlExecutionContext executionContext) {\n }\n...
{ "body": "@Test\n public void testGetTimestamp() {\n Assert.assertEquals(1, functionA.getTimestamp(null));\n Assert.assertEquals(0, functionB.getTimestamp(null));\n }", "class_method_signature": "BooleanFunctionTest.testGetTimestamp()", "constructor": false, "full_signature": "@Test public ...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/BooleanFunction.java", "identifier": "BooleanF...
{ "body": "@Override\n public long getTimestamp(Record rec) {\n return getBool(rec) ? 0 : 1;\n }", "class_method_signature": "BooleanFunction.getTimestamp(Record rec)", "constructor": false, "full_signature": "@Override public long getTimestamp(Record rec)", "identifier": "getTimestamp", "invoc...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_270
{ "fields": [ { "declarator": "function = new ShortFunction(25) {\n @Override\n public short getShort(Record rec) {\n return 0;\n }\n }", "modifier": "private static final", "original_string": "private static final ShortFunction function = new ShortFunction(25)...
{ "body": "@Test(expected = UnsupportedOperationException.class)\n public void testLong256B() {\n function.getLong256B(null);\n }", "class_method_signature": "ShortFunctionTest.testLong256B()", "constructor": false, "full_signature": "@Test(expected = UnsupportedOperationException.class) public voi...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/ShortFunction.java", "identifier": "ShortFunct...
{ "body": "@Override\n public Long256 getLong256B(Record rec) {\n throw new UnsupportedOperationException();\n }", "class_method_signature": "ShortFunction.getLong256B(Record rec)", "constructor": false, "full_signature": "@Override public Long256 getLong256B(Record rec)", "identifier": "getLong2...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_620
{ "fields": [ { "declarator": "sink = new StringSink()", "modifier": "private final", "original_string": "private final StringSink sink = new StringSink();", "type": "StringSink", "var_name": "sink" }, { "declarator": "rnd", "modifier": "private", "original_...
{ "body": "@Test\n public void testLongToString() {\n Numbers.append(sink, 6103390276L);\n TestUtils.assertEquals(\"6103390276\", sink);\n }", "class_method_signature": "NumbersTest.testLongToString()", "constructor": false, "full_signature": "@Test public void testLongToString()", "identi...
{ "fields": [ { "declarator": "INT_NaN = Integer.MIN_VALUE", "modifier": "public static final", "original_string": "public static final int INT_NaN = Integer.MIN_VALUE;", "type": "int", "var_name": "INT_NaN" }, { "declarator": "LONG_NaN = Long.MIN_VALUE", "modifie...
{ "body": "public static void append(CharSink sink, final float value, int scale) {\n float f = value;\n if (f == Float.POSITIVE_INFINITY) {\n sink.put(\"Infinity\");\n return;\n }\n\n if (f == Float.NEGATIVE_INFINITY) {\n sink.put(\"-Infinity\");\n ...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_335
{ "fields": [ { "declarator": "FACTORY = ExpressionNode.FACTORY", "modifier": "public static final", "original_string": "public static final ObjectFactory<ExpressionNode> FACTORY = ExpressionNode.FACTORY;", "type": "ObjectFactory<ExpressionNode>", "var_name": "FACTORY" } ], "...
{ "body": "@Test\n public void testNodeTraversal22() {\n ExpressionNode n1 = FACTORY.newInstance();\n ExpressionNode n2 = FACTORY.newInstance();\n ExpressionNode arg1 = createNode(LITERAL, \"BOO\", null, null);\n ExpressionNode arg2 = createNode(LITERAL, \"BOO\", null, null);\n E...
{ "fields": [], "file": "core/src/main/java/io/questdb/griffin/engine/groupby/GroupByUtils.java", "identifier": "GroupByUtils", "interfaces": "", "methods": [ { "class_method_signature": "GroupByUtils.checkGroupBy(ObjList<ExpressionNode> groupBys, ObjList<QueryColumn> selectColumns, int groupByColum...
{ "body": "public static boolean compareNodes(ExpressionNode groupBy, ExpressionNode selectNode) {\n if (groupBy == null && selectNode == null) {\n return true;\n }\n\n if (groupBy == null || selectNode == null || groupBy.type != selectNode.type) {\n return false;\n }...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_636
{ "fields": [ { "declarator": "sink = new StringSink()", "modifier": "private final", "original_string": "private final StringSink sink = new StringSink();", "type": "StringSink", "var_name": "sink" }, { "declarator": "rnd", "modifier": "private", "original_...
{ "body": "@Test(expected = NumericException.class)\n public void testParseLongNull() throws Exception {\n Numbers.parseLong(null);\n }", "class_method_signature": "NumbersTest.testParseLongNull()", "constructor": false, "full_signature": "@Test(expected = NumericException.class) public void testPa...
{ "fields": [ { "declarator": "INT_NaN = Integer.MIN_VALUE", "modifier": "public static final", "original_string": "public static final int INT_NaN = Integer.MIN_VALUE;", "type": "int", "var_name": "INT_NaN" }, { "declarator": "LONG_NaN = Long.MIN_VALUE", "modifie...
{ "body": "public static long parseLong(CharSequence sequence) throws NumericException {\n if (sequence == null) {\n throw NumericException.INSTANCE;\n }\n return parseLong0(sequence, 0, sequence.length());\n }", "class_method_signature": "Numbers.parseLong(CharSequence sequence)"...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_266
{ "fields": [ { "declarator": "function = new ShortFunction(25) {\n @Override\n public short getShort(Record rec) {\n return 0;\n }\n }", "modifier": "private static final", "original_string": "private static final ShortFunction function = new ShortFunction(25)...
{ "body": "@Test(expected = UnsupportedOperationException.class)\n public void testGetSym() {\n function.getSymbol(null);\n }", "class_method_signature": "ShortFunctionTest.testGetSym()", "constructor": false, "full_signature": "@Test(expected = UnsupportedOperationException.class) public void test...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/ShortFunction.java", "identifier": "ShortFunct...
{ "body": "@Override\n public final CharSequence getSymbol(Record rec) {\n throw new UnsupportedOperationException();\n }", "class_method_signature": "ShortFunction.getSymbol(Record rec)", "constructor": false, "full_signature": "@Override public final CharSequence getSymbol(Record rec)", "identi...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_289
{ "fields": [ { "declarator": "function = new DateFunction(25) {\n @Override\n public long getDate(Record rec) {\n return 163;\n }\n }", "modifier": "private static final", "original_string": "private static final DateFunction function = new DateFunction(25) {\...
{ "body": "@Test\n public void testGetNullTimestamp() {\n final DateFunction function = new DateFunction(25) {\n @Override\n public long getDate(Record rec) {\n return Numbers.LONG_NaN;\n }\n };\n\n Assert.assertEquals(Numbers.LONG_NaN, function....
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/DateFunction.java", "identifier": "DateFunctio...
{ "body": "@Override\n public final long getTimestamp(Record rec) {\n final long value = getDate(rec);\n return value == Numbers.LONG_NaN ? value : value * 1000L;\n }", "class_method_signature": "DateFunction.getTimestamp(Record rec)", "constructor": false, "full_signature": "@Override publi...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_323
{ "fields": [ { "declarator": "FACTORY = ExpressionNode.FACTORY", "modifier": "public static final", "original_string": "public static final ObjectFactory<ExpressionNode> FACTORY = ExpressionNode.FACTORY;", "type": "ObjectFactory<ExpressionNode>", "var_name": "FACTORY" } ], "...
{ "body": "@Test\n public void testNodeTraversal11() {\n ExpressionNode n1 = FACTORY.newInstance();\n ExpressionNode n2 = FACTORY.newInstance();\n //\n n1.type = FUNCTION;\n n1.token = \"func\";\n n1.rhs = FACTORY.newInstance();\n n1.rhs.type = LITERAL;\n //\...
{ "fields": [], "file": "core/src/main/java/io/questdb/griffin/engine/groupby/GroupByUtils.java", "identifier": "GroupByUtils", "interfaces": "", "methods": [ { "class_method_signature": "GroupByUtils.checkGroupBy(ObjList<ExpressionNode> groupBys, ObjList<QueryColumn> selectColumns, int groupByColum...
{ "body": "public static boolean compareNodes(ExpressionNode groupBy, ExpressionNode selectNode) {\n if (groupBy == null && selectNode == null) {\n return true;\n }\n\n if (groupBy == null || selectNode == null || groupBy.type != selectNode.type) {\n return false;\n }...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_84
{ "fields": [ { "declarator": "function = new IntFunction(25) {\n @Override\n public int getInt(Record rec) {\n return 150;\n }\n }", "modifier": "private static final", "original_string": "private static final IntFunction function = new IntFunction(25) {\n ...
{ "body": "@Test(expected = UnsupportedOperationException.class)\n public void testGetBinLen() {\n function.getBinLen(null);\n }", "class_method_signature": "IntFunctionTest.testGetBinLen()", "constructor": false, "full_signature": "@Test(expected = UnsupportedOperationException.class) public void ...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/IntFunction.java", "identifier": "IntFunction"...
{ "body": "@Override\n public long getBinLen(Record rec) {\n throw new UnsupportedOperationException();\n }", "class_method_signature": "IntFunction.getBinLen(Record rec)", "constructor": false, "full_signature": "@Override public long getBinLen(Record rec)", "identifier": "getBinLen", "invocat...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_548
{ "fields": [], "file": "core/src/test/java/io/questdb/cairo/NullColumnTest.java", "identifier": "NullColumnTest", "interfaces": "", "superclass": "" }
{ "body": "@Test\n public void getBin() {\n Assert.assertNull(NullColumn.INSTANCE.getBin(1234));\n }", "class_method_signature": "NullColumnTest.getBin()", "constructor": false, "full_signature": "@Test public void getBin()", "identifier": "getBin", "invocations": [ "assertNull", "getBi...
{ "fields": [ { "declarator": "INSTANCE = new NullColumn()", "modifier": "public static final", "original_string": "public static final NullColumn INSTANCE = new NullColumn();", "type": "NullColumn", "var_name": "INSTANCE" } ], "file": "core/src/main/java/io/questdb/cairo/Nul...
{ "body": "@Override\n public BinarySequence getBin(long offset) {\n return null;\n }", "class_method_signature": "NullColumn.getBin(long offset)", "constructor": false, "full_signature": "@Override public BinarySequence getBin(long offset)", "identifier": "getBin", "invocations": [], "modifi...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_118
{ "fields": [ { "declarator": "function = new SymbolFunction(25) {\n @Override\n public int getInt(Record rec) {\n return 0;\n }\n\n @Override\n public CharSequence getSymbol(Record rec) {\n return \"XYZ\";\n }\n\n @Override\n pub...
{ "body": "@Test(expected = UnsupportedOperationException.class)\n public void testLong256A() {\n function.getLong256A(null);\n }", "class_method_signature": "SymbolFunctionTest.testLong256A()", "constructor": false, "full_signature": "@Test(expected = UnsupportedOperationException.class) public vo...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/SymbolFunction.java", "identifier": "SymbolFun...
{ "body": "@Override\n public Long256 getLong256A(Record rec) {\n throw new UnsupportedOperationException();\n }", "class_method_signature": "SymbolFunction.getLong256A(Record rec)", "constructor": false, "full_signature": "@Override public Long256 getLong256A(Record rec)", "identifier": "getLong...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_231
{ "fields": [ { "declarator": "function = new ByteFunction(25) {\n @Override\n public byte getByte(Record rec) {\n return 0;\n }\n }", "modifier": "private static final", "original_string": "private static final ByteFunction function = new ByteFunction(25) {\n ...
{ "body": "@Test(expected = UnsupportedOperationException.class)\n public void testLong256A() {\n function.getLong256A(null);\n }", "class_method_signature": "ByteFunctionTest.testLong256A()", "constructor": false, "full_signature": "@Test(expected = UnsupportedOperationException.class) public void...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/ByteFunction.java", "identifier": "ByteFunctio...
{ "body": "@Override\n public final Long256 getLong256A(Record rec) {\n throw new UnsupportedOperationException();\n }", "class_method_signature": "ByteFunction.getLong256A(Record rec)", "constructor": false, "full_signature": "@Override public final Long256 getLong256A(Record rec)", "identifier"...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_661
{ "fields": [ { "declarator": "sink = new StringSink()", "modifier": "private final", "original_string": "private final StringSink sink = new StringSink();", "type": "StringSink", "var_name": "sink" }, { "declarator": "rnd", "modifier": "private", "original_...
{ "body": "@Test\n public void testRoundHalfUp() throws Exception {\n Assert.assertEquals(-1.235, Numbers.roundHalfUp(-1.2346, 3), Numbers.TOLERANCE);\n Assert.assertEquals(-1.2349, Numbers.roundHalfUp(-1.234899, 5), Numbers.TOLERANCE);\n Assert.assertEquals(1.2349, Numbers.roundHalfUp(1.23489...
{ "fields": [ { "declarator": "INT_NaN = Integer.MIN_VALUE", "modifier": "public static final", "original_string": "public static final int INT_NaN = Integer.MIN_VALUE;", "type": "int", "var_name": "INT_NaN" }, { "declarator": "LONG_NaN = Long.MIN_VALUE", "modifie...
{ "body": "public static double roundHalfUp(double value, int scale) throws NumericException {\n if (scale + 2 < pow10max && scale > -pow10max) {\n long valueBits = Double.doubleToRawLongBits(value);\n long signMask = valueBits & Numbers.SIGN_BIT_MASK;\n double absValue = Doubl...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_374
{ "fields": [], "file": "core/src/test/java/io/questdb/griffin/SqlCodeGeneratorTest.java", "identifier": "SqlCodeGeneratorTest", "interfaces": "", "superclass": "extends AbstractGriffinTest" }
{ "body": "@Test\n public void testLatestBySubQueryDeferredIndexedFiltered() throws Exception {\n TestMatchFunctionFactory.clear();\n assertQuery(\"a\\tb\\tk\\n\" +\n \"23.90529010846525\\tRXGZ\\t1970-01-03T07:33:20.000000Z\\n\" +\n \"12.026122412833129\\...
{ "fields": [ { "declarator": "GKK_VANILLA_INT = 0", "modifier": "public static final", "original_string": "public static final int GKK_VANILLA_INT = 0;", "type": "int", "var_name": "GKK_VANILLA_INT" }, { "declarator": "GKK_HOUR_INT = 1", "modifier": "public stati...
{ "body": "@Override\n public void clear() {\n whereClauseParser.clear();\n }", "class_method_signature": "SqlCodeGenerator.clear()", "constructor": false, "full_signature": "@Override public void clear()", "identifier": "clear", "invocations": [ "clear" ], "modifiers": "@Override publi...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_533
{ "fields": [ { "declarator": "LOG = LogFactory.getLog(ReaderPoolTest.class)", "modifier": "private static final", "original_string": "private static final Log LOG = LogFactory.getLog(ReaderPoolTest.class);", "type": "Log", "var_name": "LOG" } ], "file": "core/src/test/java/i...
{ "body": "@Test\n public void testGetReaderWhenPoolClosed() throws Exception {\n assertWithPool(pool -> {\n pool.close();\n\n try {\n pool.get(\"u\");\n Assert.fail();\n } catch (PoolClosedException ignored) {\n }\n });\n }...
{ "fields": [ { "declarator": "LOG = LogFactory.getLog(ReaderPool.class)", "modifier": "private static final", "original_string": "private static final Log LOG = LogFactory.getLog(ReaderPool.class);", "type": "Log", "var_name": "LOG" }, { "declarator": "UNLOCKED = -1L",...
{ "body": "@Override\n public TableReader get(CharSequence name) {\n\n Entry e = getEntry(name);\n\n long lockOwner = e.lockOwner;\n long thread = Thread.currentThread().getId();\n\n if (lockOwner != UNLOCKED) {\n LOG.info().$('\\'').utf8(name).$(\"' is locked [owner=\").$(lo...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_163
{ "fields": [ { "declarator": "function = new TimestampFunction(25) {\n @Override\n public long getTimestamp(Record rec) {\n return 145000L;\n }\n }", "modifier": "private static final", "original_string": "private static final TimestampFunction function = new ...
{ "body": "@Test(expected = UnsupportedOperationException.class)\n public void testGetBin() {\n function.getBin(null);\n }", "class_method_signature": "TimestampFunctionTest.testGetBin()", "constructor": false, "full_signature": "@Test(expected = UnsupportedOperationException.class) public void tes...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/TimestampFunction.java", "identifier": "Timest...
{ "body": "@Override\n public final BinarySequence getBin(Record rec) {\n throw new UnsupportedOperationException();\n }", "class_method_signature": "TimestampFunction.getBin(Record rec)", "constructor": false, "full_signature": "@Override public final BinarySequence getBin(Record rec)", "identif...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_499
{ "fields": [ { "declarator": "PRODUCT = \"product\"", "modifier": "public static final", "original_string": "public static final String PRODUCT = \"product\";", "type": "String", "var_name": "PRODUCT" }, { "declarator": "FF = FilesFacadeImpl.INSTANCE", "modifier"...
{ "body": "@Test\n public void testRenameColumnCannotRemoveSomeMetadataPrev() throws Exception {\n renameColumn(new TestFilesFacade() {\n int count = 5;\n\n @Override\n public boolean exists(LPSZ path) {\n if (Chars.contains(path, TableUtils.META_PREV_FILE_NAM...
{ "fields": [ { "declarator": "LOG = LogFactory.getLog(TableWriter.class)", "modifier": "private static final", "original_string": "private static final Log LOG = LogFactory.getLog(TableWriter.class);", "type": "Log", "var_name": "LOG" }, { "declarator": "IGNORED_FILES ...
{ "body": "public void renameColumn(CharSequence currentName, CharSequence newName) {\n\n checkDistressed();\n\n final int index = getColumnIndex(currentName);\n final int type = metadata.getColumnType(index);\n\n LOG.info().$(\"renaming column '\").utf8(currentName).$(\"' to '\").utf8(new...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_476
{ "fields": [], "file": "core/src/test/java/io/questdb/cairo/ContiguousVirtualMemoryTest.java", "identifier": "ContiguousVirtualMemoryTest", "interfaces": "", "superclass": "" }
{ "body": "@Test\n public void testStringStorageDimensions() {\n assertEquals(10, VirtualMemory.getStorageLength(\"xyz\"));\n assertEquals(4, VirtualMemory.getStorageLength(\"\"));\n assertEquals(4, VirtualMemory.getStorageLength(null));\n }", "class_method_signature": "ContiguousVirtualM...
{ "fields": [ { "declarator": "STRING_LENGTH_BYTES = 4", "modifier": "static final", "original_string": "static final int STRING_LENGTH_BYTES = 4;", "type": "int", "var_name": "STRING_LENGTH_BYTES" }, { "declarator": "LOG = LogFactory.getLog(ContiguousVirtualMemory.clas...
{ "body": "public static int getStorageLength(CharSequence s) {\n if (s != null) {\n return STRING_LENGTH_BYTES + s.length() * 2;\n }\n return STRING_LENGTH_BYTES;\n\n }", "class_method_signature": "ContiguousVirtualMemory.getStorageLength(CharSequence s)", "constructor": false,...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_10
{ "fields": [ { "declarator": "function = new StrFunction(25) {\n @Override\n public CharSequence getStr(Record rec) {\n return \"a\";\n }\n\n @Override\n public CharSequence getStrB(Record rec) {\n return \"a\";\n }\n }", "modifier": ...
{ "body": "@Test(expected = UnsupportedOperationException.class)\n public void testGetLong() {\n function.getLong(null);\n }", "class_method_signature": "StrFunctionTest.testGetLong()", "constructor": false, "full_signature": "@Test(expected = UnsupportedOperationException.class) public void testGe...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/StrFunction.java", "identifier": "StrFunction"...
{ "body": "@Override\n public final long getLong(Record rec) {\n throw new UnsupportedOperationException();\n }", "class_method_signature": "StrFunction.getLong(Record rec)", "constructor": false, "full_signature": "@Override public final long getLong(Record rec)", "identifier": "getLong", "inv...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_134
{ "fields": [ { "declarator": "function = new CursorFunction(25, null)", "modifier": "private static final", "original_string": "private static final CursorFunction function = new CursorFunction(25, null);", "type": "CursorFunction", "var_name": "function" } ], "file": "core/...
{ "body": "@Test(expected = UnsupportedOperationException.class)\n public void testGetShort() {\n function.getShort(null);\n }", "class_method_signature": "CursorFunctionTest.testGetShort()", "constructor": false, "full_signature": "@Test(expected = UnsupportedOperationException.class) public void ...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" }, { "declarator": "factory", "modifier": "private final", "original_string": "private final Record...
{ "body": "@Override\n public final short getShort(Record rec) {\n throw new UnsupportedOperationException();\n }", "class_method_signature": "CursorFunction.getShort(Record rec)", "constructor": false, "full_signature": "@Override public final short getShort(Record rec)", "identifier": "getShort...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_564
{ "fields": [ { "declarator": "WORK_STEALING_DONT_TEST = 0", "modifier": "private static final", "original_string": "private static final int WORK_STEALING_DONT_TEST = 0;", "type": "int", "var_name": "WORK_STEALING_DONT_TEST" }, { "declarator": "WORK_STEALING_NO_PICKUP ...
{ "body": "@Test\n public void testSimpleSymbolIndex() throws Exception {\n TestUtils.assertMemoryLeak(() -> {\n int N = 1000000;\n int S = 128;\n Rnd rnd = new Rnd();\n SymbolGroup sg = new SymbolGroup(rnd, S, N, PartitionBy.NONE, true);\n\n final MyWo...
{ "fields": [], "file": "core/src/main/java/io/questdb/cairo/FullFwdDataFrameCursor.java", "identifier": "FullFwdDataFrameCursor", "interfaces": "", "methods": [ { "class_method_signature": "FullFwdDataFrameCursor.next()", "constructor": false, "full_signature": "@Override public @Nullab...
{ "body": "@Override\n public void toTop() {\n this.partitionIndex = 0;\n }", "class_method_signature": "FullFwdDataFrameCursor.toTop()", "constructor": false, "full_signature": "@Override public void toTop()", "identifier": "toTop", "invocations": [], "modifiers": "@Override public", "para...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_47
{ "fields": [ { "declarator": "function = new DoubleFunction(25) {\n @Override\n public double getDouble(Record rec) {\n return 0;\n }\n }", "modifier": "private static final", "original_string": "private static final DoubleFunction function = new DoubleFunctio...
{ "body": "@Test(expected = UnsupportedOperationException.class)\n public void testGetDate() {\n function.getDate(null);\n }", "class_method_signature": "DoubleFunctionTest.testGetDate()", "constructor": false, "full_signature": "@Test(expected = UnsupportedOperationException.class) public void tes...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/DoubleFunction.java", "identifier": "DoubleFun...
{ "body": "@Override\n public final long getDate(Record rec) {\n throw new UnsupportedOperationException();\n }", "class_method_signature": "DoubleFunction.getDate(Record rec)", "constructor": false, "full_signature": "@Override public final long getDate(Record rec)", "identifier": "getDate", "...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_421
{ "fields": [ { "declarator": "request = \"GET /status?x=1&a=%26b&c&d=x HTTP/1.1\\r\\n\" +\n \"Host: localhost:9000\\r\\n\" +\n \"Connection: keep-alive\\r\\n\" +\n \"Cache-Control: max-age=0\\r\\n\" +\n \"Accept: text/html,application/xhtml+xml,application/xml;q=...
{ "body": "@Test\n public void testHeaderTooLarge() {\n String v = \"GET /ok?x=a&y=b+c&z=123 HTTP/1.1\\r\\n\" +\n \"Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryQ3pdBTBXxEFUWDML\\r\\n\" +\n \"\\r\\n\";\n long p = TestUtils.toMemory(v);\n try (...
{ "fields": [ { "declarator": "CONTENT_DISPOSITION_HEADER = \"Content-Disposition\"", "modifier": "private static final", "original_string": "private static final String CONTENT_DISPOSITION_HEADER = \"Content-Disposition\";", "type": "String", "var_name": "CONTENT_DISPOSITION_HEADER"...
{ "body": "public long parse(long ptr, long hi, boolean _method) {\n long p;\n if (_method && needMethod) {\n int l = parseMethod(ptr, hi);\n p = ptr + l;\n } else {\n p = ptr;\n }\n\n DirectByteCharSequence v;\n\n while (p < hi) {\n ...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_708
{ "fields": [ { "declarator": "sink = new StringSink()", "modifier": "private final", "original_string": "private final StringSink sink = new StringSink();", "type": "StringSink", "var_name": "sink" } ], "file": "core/src/test/java/io/questdb/std/microtime/TimestampsTest.java...
{ "body": "@Test\n public void testFloorYYYY() throws Exception {\n long micros = TimestampFormatUtils.parseDateTime(\"2008-05-12T23:45:51.045Z\");\n TimestampFormatUtils.appendDateTime(sink, Timestamps.floorYYYY(micros));\n TestUtils.assertEquals(\"2008-01-01T00:00:00.000Z\", sink);\n }", ...
{ "fields": [ { "declarator": "WEEK_MICROS = 604800000000L", "modifier": "public static final", "original_string": "public static final long WEEK_MICROS = 604800000000L;", "type": "long", "var_name": "WEEK_MICROS" }, { "declarator": "DAY_MICROS = 86400000000L", "m...
{ "body": "public static long floorYYYY(long micros) {\n int y;\n return yearMicros(y = getYear(micros), isLeapYear(y));\n }", "class_method_signature": "Timestamps.floorYYYY(long micros)", "constructor": false, "full_signature": "public static long floorYYYY(long micros)", "identifier": "flo...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_358
{ "fields": [], "file": "core/src/test/java/io/questdb/griffin/SqlCodeGeneratorTest.java", "identifier": "SqlCodeGeneratorTest", "interfaces": "", "superclass": "extends AbstractGriffinTest" }
{ "body": "@Test\n public void testFilterOnSubQueryIndexed() throws Exception {\n TestMatchFunctionFactory.clear();\n final String expected = \"a\\tb\\tk\\n\" +\n \"11.427984775756228\\t\\t1970-01-01T00:00:00.000000Z\\n\" +\n \"23.90529010846525\\tRXGZ\\t1970-01-03T07:33...
{ "fields": [ { "declarator": "GKK_VANILLA_INT = 0", "modifier": "public static final", "original_string": "public static final int GKK_VANILLA_INT = 0;", "type": "int", "var_name": "GKK_VANILLA_INT" }, { "declarator": "GKK_HOUR_INT = 1", "modifier": "public stati...
{ "body": "@Override\n public void clear() {\n whereClauseParser.clear();\n }", "class_method_signature": "SqlCodeGenerator.clear()", "constructor": false, "full_signature": "@Override public void clear()", "identifier": "clear", "invocations": [ "clear" ], "modifiers": "@Override publi...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_572
{ "fields": [ { "declarator": "extractor = new FileNameExtractorCharSequence()", "modifier": "private static final", "original_string": "private static final FileNameExtractorCharSequence extractor = new FileNameExtractorCharSequence();", "type": "FileNameExtractorCharSequence", "var...
{ "body": "@Test\n public void testPathListQuotedSpaceEmpty() {\n assertThat(\"[abc,x]\", Chars.splitLpsz(\"abc \\\"\\\" x\"));\n }", "class_method_signature": "CharsTest.testPathListQuotedSpaceEmpty()", "constructor": false, "full_signature": "@Test public void testPathListQuotedSpaceEmpty()", "...
{ "fields": [ { "declarator": "CHAR_SEQUENCE_COMPARATOR = Chars::compare", "modifier": "public static final", "original_string": "public static final Comparator<CharSequence> CHAR_SEQUENCE_COMPARATOR = Chars::compare;", "type": "Comparator<CharSequence>", "var_name": "CHAR_SEQUENCE_C...
{ "body": "public static ObjList<Path> splitLpsz(CharSequence args) {\n final ObjList<Path> paths = new ObjList<>();\n int n = args.length();\n int lastLen = 0;\n int lastIndex = 0;\n boolean inQuote = false;\n for (int i = 0; i < n; i++) {\n char b = args.charAt(i...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_122
{ "fields": [ { "declarator": "function = new CursorFunction(25, null)", "modifier": "private static final", "original_string": "private static final CursorFunction function = new CursorFunction(25, null);", "type": "CursorFunction", "var_name": "function" } ], "file": "core/...
{ "body": "@Test(expected = UnsupportedOperationException.class)\n public void testGetBool() {\n function.getBool(null);\n }", "class_method_signature": "CursorFunctionTest.testGetBool()", "constructor": false, "full_signature": "@Test(expected = UnsupportedOperationException.class) public void tes...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" }, { "declarator": "factory", "modifier": "private final", "original_string": "private final Record...
{ "body": "@Override\n public final boolean getBool(Record rec) {\n throw new UnsupportedOperationException();\n }", "class_method_signature": "CursorFunction.getBool(Record rec)", "constructor": false, "full_signature": "@Override public final boolean getBool(Record rec)", "identifier": "getBool...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_437
{ "fields": [ { "declarator": "ENTITY_MANIPULATOR = (index, len, b) -> b", "modifier": "private static final", "original_string": "private static final ByteManipulator ENTITY_MANIPULATOR = (index, len, b) -> b;", "type": "ByteManipulator", "var_name": "ENTITY_MANIPULATOR" }, ...
{ "body": "@Test\n public void testOverrideIntWithShort() throws Exception {\n assertNoLeak((textLoader) -> {\n String expected = \"f0\\tf1\\tf2\\tf3\\tf4\\tf5\\tf6\\tf7\\tf8\\tf9\\n\" +\n \"\\\"CMP2\\t8\\t8000\\t2.27636352181435\\t2015-01-29T19:15:09.000Z\\t2015-01-29T19:15:09...
{ "fields": [ { "declarator": "LOAD_JSON_METADATA = 0", "modifier": "public static final", "original_string": "public static final int LOAD_JSON_METADATA = 0;", "type": "int", "var_name": "LOAD_JSON_METADATA" }, { "declarator": "ANALYZE_STRUCTURE = 1", "modifier":...
{ "body": "public void setState(int state) {\n LOG.debug().$(\"state change [old=\").$(this.state).$(\", new=\").$(state).$(']').$();\n this.state = state;\n jsonLexer.clear();\n }", "class_method_signature": "TextLoader.setState(int state)", "constructor": false, "full_signature": "publ...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_51
{ "fields": [ { "declarator": "function = new DoubleFunction(25) {\n @Override\n public double getDouble(Record rec) {\n return 0;\n }\n }", "modifier": "private static final", "original_string": "private static final DoubleFunction function = new DoubleFunctio...
{ "body": "@Test(expected = UnsupportedOperationException.class)\n public void testGetMetadata() {\n function.getMetadata();\n }", "class_method_signature": "DoubleFunctionTest.testGetMetadata()", "constructor": false, "full_signature": "@Test(expected = UnsupportedOperationException.class) public ...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/DoubleFunction.java", "identifier": "DoubleFun...
{ "body": "@Override\n public RecordMetadata getMetadata() {\n throw new UnsupportedOperationException();\n }", "class_method_signature": "DoubleFunction.getMetadata()", "constructor": false, "full_signature": "@Override public RecordMetadata getMetadata()", "identifier": "getMetadata", "invoca...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_175
{ "fields": [ { "declarator": "function = new TimestampFunction(25) {\n @Override\n public long getTimestamp(Record rec) {\n return 145000L;\n }\n }", "modifier": "private static final", "original_string": "private static final TimestampFunction function = new ...
{ "body": "@Test(expected = UnsupportedOperationException.class)\n public void testGetRecordCursorFactory() {\n function.getRecordCursorFactory();\n }", "class_method_signature": "TimestampFunctionTest.testGetRecordCursorFactory()", "constructor": false, "full_signature": "@Test(expected = Unsuppor...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/TimestampFunction.java", "identifier": "Timest...
{ "body": "@Override\n public RecordCursorFactory getRecordCursorFactory() {\n throw new UnsupportedOperationException();\n }", "class_method_signature": "TimestampFunction.getRecordCursorFactory()", "constructor": false, "full_signature": "@Override public RecordCursorFactory getRecordCursorFactor...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_525
{ "fields": [ { "declarator": "LOG = LogFactory.getLog(ReaderPoolTest.class)", "modifier": "private static final", "original_string": "private static final Log LOG = LogFactory.getLog(ReaderPoolTest.class);", "type": "Log", "var_name": "LOG" } ], "file": "core/src/test/java/i...
{ "body": "@Test\n public void testClosePoolWhenReaderIsOut() throws Exception {\n assertWithPool(pool -> {\n try (TableModel model = new TableModel(configuration, \"x\", PartitionBy.NONE).col(\"ts\", ColumnType.DATE)) {\n CairoTestUtils.create(model);\n }\n\n ...
{ "fields": [ { "declarator": "LOG = LogFactory.getLog(ReaderPool.class)", "modifier": "private static final", "original_string": "private static final Log LOG = LogFactory.getLog(ReaderPool.class);", "type": "Log", "var_name": "LOG" }, { "declarator": "UNLOCKED = -1L",...
{ "body": "@Override\n public TableReader get(CharSequence name) {\n\n Entry e = getEntry(name);\n\n long lockOwner = e.lockOwner;\n long thread = Thread.currentThread().getId();\n\n if (lockOwner != UNLOCKED) {\n LOG.info().$('\\'').utf8(name).$(\"' is locked [owner=\").$(lo...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_460
{ "fields": [], "file": "core/src/test/java/io/questdb/cutlass/line/LineProtoSecondTimestampAdapterTest.java", "identifier": "LineProtoSecondTimestampAdapterTest", "interfaces": "", "superclass": "" }
{ "body": "@Test\n public void testRounding() throws NumericException {\n Assert.assertEquals(5679000000L, LineProtoSecondTimestampAdapter.INSTANCE.getMicros(\"5679\"));\n }", "class_method_signature": "LineProtoSecondTimestampAdapterTest.testRounding()", "constructor": false, "full_signature": "@T...
{ "fields": [ { "declarator": "INSTANCE = new LineProtoSecondTimestampAdapter()", "modifier": "public static final", "original_string": "public static final LineProtoSecondTimestampAdapter INSTANCE = new LineProtoSecondTimestampAdapter();", "type": "LineProtoSecondTimestampAdapter", ...
{ "body": "@Override\n public long getMicros(CharSequence value) throws NumericException {\n return Numbers.parseLong(value) * Timestamps.SECOND_MICROS;\n }", "class_method_signature": "LineProtoSecondTimestampAdapter.getMicros(CharSequence value)", "constructor": false, "full_signature": "@Overrid...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_319
{ "fields": [], "file": "core/src/test/java/io/questdb/griffin/engine/functions/constants/LongConstantTest.java", "identifier": "LongConstantTest", "interfaces": "", "superclass": "" }
{ "body": "@Test\n public void testConstant() {\n LongConstant constant = new LongConstant(0, 923123123123123123L);\n Assert.assertTrue(constant.isConstant());\n Assert.assertEquals(923123123123123123L, constant.getLong(null));\n }", "class_method_signature": "LongConstantTest.testConstan...
{ "fields": [ { "declarator": "value", "modifier": "private final", "original_string": "private final long value;", "type": "long", "var_name": "value" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/constants/LongConstant.java", "identifier": "LongCons...
{ "body": "@Override\n public long getLong(Record rec) {\n return value;\n }", "class_method_signature": "LongConstant.getLong(Record rec)", "constructor": false, "full_signature": "@Override public long getLong(Record rec)", "identifier": "getLong", "invocations": [], "modifiers": "@Override...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_381
{ "fields": [], "file": "core/src/test/java/io/questdb/griffin/FunctionParserTest.java", "identifier": "FunctionParserTest", "interfaces": "", "superclass": "extends BaseFunctionFactoryTest" }
{ "body": "@Test\n public void testByteToShortCast() throws SqlException {\n functions.add(new AddShortFunctionFactory());\n final GenericRecordMetadata metadata = new GenericRecordMetadata();\n metadata.add(new TableColumnMetadata(\"a\", ColumnType.BYTE));\n metadata.add(new TableColum...
{ "fields": [ { "declarator": "LOG = LogFactory.getLog(FunctionParser.class)", "modifier": "private static final", "original_string": "private static final Log LOG = LogFactory.getLog(FunctionParser.class);", "type": "Log", "var_name": "LOG" }, { "declarator": "MATCH_NO...
{ "body": "public Function parseFunction(\n ExpressionNode node,\n RecordMetadata metadata,\n SqlExecutionContext executionContext\n ) throws SqlException {\n\n this.sqlExecutionContext = executionContext;\n\n if (this.metadata != null) {\n metadataStack.pu...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_694
{ "fields": [ { "declarator": "sink = new StringSink()", "modifier": "private final", "original_string": "private final StringSink sink = new StringSink();", "type": "StringSink", "var_name": "sink" } ], "file": "core/src/test/java/io/questdb/std/microtime/TimestampsTest.java...
{ "body": "@Test\n public void testAddMonths() throws Exception {\n long micros = TimestampFormatUtils.parseDateTime(\"2008-05-12T23:45:51.045Z\");\n TimestampFormatUtils.appendDateTime(sink, Timestamps.addMonths(micros, -10));\n TestUtils.assertEquals(\"2007-07-12T23:45:51.045Z\", sink);\n ...
{ "fields": [ { "declarator": "WEEK_MICROS = 604800000000L", "modifier": "public static final", "original_string": "public static final long WEEK_MICROS = 604800000000L;", "type": "long", "var_name": "WEEK_MICROS" }, { "declarator": "DAY_MICROS = 86400000000L", "m...
{ "body": "public static long addMonths(final long micros, int months) {\n if (months == 0) {\n return micros;\n }\n int y = Timestamps.getYear(micros);\n boolean l = Timestamps.isLeapYear(y);\n int m = getMonthOfYear(micros, y, l);\n int _y;\n int _m = m - ...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_417
{ "fields": [ { "declarator": "request = \"GET /status?x=1&a=%26b&c&d=x HTTP/1.1\\r\\n\" +\n \"Host: localhost:9000\\r\\n\" +\n \"Connection: keep-alive\\r\\n\" +\n \"Cache-Control: max-age=0\\r\\n\" +\n \"Accept: text/html,application/xhtml+xml,application/xml;q=...
{ "body": "@Test\n public void testContentDispositionDangling() throws Exception {\n TestUtils.assertMemoryLeak(() -> {\n String v = \"Content-Disposition: form-data; name=\\\"hello\\\";\\r\\n\" +\n \"\\r\\n\";\n long p = TestUtils.toMemory(v);\n try (Http...
{ "fields": [ { "declarator": "CONTENT_DISPOSITION_HEADER = \"Content-Disposition\"", "modifier": "private static final", "original_string": "private static final String CONTENT_DISPOSITION_HEADER = \"Content-Disposition\";", "type": "String", "var_name": "CONTENT_DISPOSITION_HEADER"...
{ "body": "public long parse(long ptr, long hi, boolean _method) {\n long p;\n if (_method && needMethod) {\n int l = parseMethod(ptr, hi);\n p = ptr + l;\n } else {\n p = ptr;\n }\n\n DirectByteCharSequence v;\n\n while (p < hi) {\n ...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_71
{ "fields": [ { "declarator": "function = new CharFunction(25) {\n @Override\n public char getChar(Record rec) {\n return 0x34;\n }\n }", "modifier": "private static final", "original_string": "private static final CharFunction function = new CharFunction(25) {...
{ "body": "@Test(expected = UnsupportedOperationException.class)\n public void testGetRecordCursorFactory() {\n function.getRecordCursorFactory();\n }", "class_method_signature": "CharFunctionTest.testGetRecordCursorFactory()", "constructor": false, "full_signature": "@Test(expected = UnsupportedOp...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" }, { "declarator": "sinkA = new StringSink()", "modifier": "private final", "original_string": "pri...
{ "body": "@Override\n public RecordCursorFactory getRecordCursorFactory() {\n throw new UnsupportedOperationException();\n }", "class_method_signature": "CharFunction.getRecordCursorFactory()", "constructor": false, "full_signature": "@Override public RecordCursorFactory getRecordCursorFactory()",...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_552
{ "fields": [], "file": "core/src/test/java/io/questdb/cairo/NullColumnTest.java", "identifier": "NullColumnTest", "interfaces": "", "superclass": "" }
{ "body": "@Test\n public void getDouble() {\n Assert.assertTrue(Double.isNaN(NullColumn.INSTANCE.getDouble(1234)));\n }", "class_method_signature": "NullColumnTest.getDouble()", "constructor": false, "full_signature": "@Test public void getDouble()", "identifier": "getDouble", "invocations": [...
{ "fields": [ { "declarator": "INSTANCE = new NullColumn()", "modifier": "public static final", "original_string": "public static final NullColumn INSTANCE = new NullColumn();", "type": "NullColumn", "var_name": "INSTANCE" } ], "file": "core/src/main/java/io/questdb/cairo/Nul...
{ "body": "@Override\n public double getDouble(long offset) {\n return Double.NaN;\n }", "class_method_signature": "NullColumn.getDouble(long offset)", "constructor": false, "full_signature": "@Override public double getDouble(long offset)", "identifier": "getDouble", "invocations": [], "modi...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_102
{ "fields": [ { "declarator": "function = new SymbolFunction(25) {\n @Override\n public int getInt(Record rec) {\n return 0;\n }\n\n @Override\n public CharSequence getSymbol(Record rec) {\n return \"XYZ\";\n }\n\n @Override\n pub...
{ "body": "@Test(expected = UnsupportedOperationException.class)\n public void testGetBinLen() {\n function.getBinLen(null);\n }", "class_method_signature": "SymbolFunctionTest.testGetBinLen()", "constructor": false, "full_signature": "@Test(expected = UnsupportedOperationException.class) public vo...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/SymbolFunction.java", "identifier": "SymbolFun...
{ "body": "@Override\n public long getBinLen(Record rec) {\n throw new UnsupportedOperationException();\n }", "class_method_signature": "SymbolFunction.getBinLen(Record rec)", "constructor": false, "full_signature": "@Override public long getBinLen(Record rec)", "identifier": "getBinLen", "invo...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_293
{ "fields": [ { "declarator": "function = new DateFunction(25) {\n @Override\n public long getDate(Record rec) {\n return 163;\n }\n }", "modifier": "private static final", "original_string": "private static final DateFunction function = new DateFunction(25) {\...
{ "body": "@Test(expected = UnsupportedOperationException.class)\n public void testLong256B() {\n function.getLong256B(null);\n }", "class_method_signature": "DateFunctionTest.testLong256B()", "constructor": false, "full_signature": "@Test(expected = UnsupportedOperationException.class) public void...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/DateFunction.java", "identifier": "DateFunctio...
{ "body": "@Override\n public Long256 getLong256B(Record rec) {\n throw new UnsupportedOperationException();\n }", "class_method_signature": "DateFunction.getLong256B(Record rec)", "constructor": false, "full_signature": "@Override public Long256 getLong256B(Record rec)", "identifier": "getLong25...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_339
{ "fields": [ { "declarator": "FACTORY = ExpressionNode.FACTORY", "modifier": "public static final", "original_string": "public static final ObjectFactory<ExpressionNode> FACTORY = ExpressionNode.FACTORY;", "type": "ObjectFactory<ExpressionNode>", "var_name": "FACTORY" } ], "...
{ "body": "@Test\n public void testNodeTraversal5() {\n ExpressionNode n1 = FACTORY.newInstance();\n ExpressionNode n2 = FACTORY.newInstance();\n //\n n1.type = FUNCTION;\n n1.token = \"func\";\n n1.lhs = FACTORY.newInstance();\n n1.lhs.type = LITERAL;\n //\n...
{ "fields": [], "file": "core/src/main/java/io/questdb/griffin/engine/groupby/GroupByUtils.java", "identifier": "GroupByUtils", "interfaces": "", "methods": [ { "class_method_signature": "GroupByUtils.checkGroupBy(ObjList<ExpressionNode> groupBys, ObjList<QueryColumn> selectColumns, int groupByColum...
{ "body": "public static boolean compareNodes(ExpressionNode groupBy, ExpressionNode selectNode) {\n if (groupBy == null && selectNode == null) {\n return true;\n }\n\n if (groupBy == null || selectNode == null || groupBy.type != selectNode.type) {\n return false;\n }...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_26
{ "fields": [ { "declarator": "function = new LongFunction(25) {\n @Override\n public long getLong(Record rec) {\n return 149;\n }\n }", "modifier": "private static final", "original_string": "private static final LongFunction function = new LongFunction(25) {\...
{ "body": "@Test\n public void testGetDate() {\n Assert.assertEquals(149, function.getDate(null));\n }", "class_method_signature": "LongFunctionTest.testGetDate()", "constructor": false, "full_signature": "@Test public void testGetDate()", "identifier": "testGetDate", "invocations": [ "asse...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/LongFunction.java", "identifier": "LongFunctio...
{ "body": "@Override\n public final long getDate(Record rec) {\n return getLong(rec);\n }", "class_method_signature": "LongFunction.getDate(Record rec)", "constructor": false, "full_signature": "@Override public final long getDate(Record rec)", "identifier": "getDate", "invocations": [ "get...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_440
{ "fields": [ { "declarator": "ENTITY_MANIPULATOR = (index, len, b) -> b", "modifier": "private static final", "original_string": "private static final ByteManipulator ENTITY_MANIPULATOR = (index, len, b) -> b;", "type": "ByteManipulator", "var_name": "ENTITY_MANIPULATOR" }, ...
{ "body": "@Test\n public void testSimple() throws Exception {\n assertNoLeak(textLoader -> {\n final String expected = \"f0\\tf1\\tf2\\tf3\\tf4\\tf5\\tf6\\n\" +\n \"123\\tabc\\t2015-01-20T21:00:00.000Z\\t3.1415\\ttrue\\tLorem ipsum dolor sit amet.\\t122\\n\" +\n ...
{ "fields": [ { "declarator": "LOAD_JSON_METADATA = 0", "modifier": "public static final", "original_string": "public static final int LOAD_JSON_METADATA = 0;", "type": "int", "var_name": "LOAD_JSON_METADATA" }, { "declarator": "ANALYZE_STRUCTURE = 1", "modifier":...
{ "body": "public void setForceHeaders(boolean forceHeaders) {\n this.forceHeaders = forceHeaders;\n }", "class_method_signature": "TextLoader.setForceHeaders(boolean forceHeaders)", "constructor": false, "full_signature": "public void setForceHeaders(boolean forceHeaders)", "identifier": "setForceH...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_155
{ "fields": [ { "declarator": "functionA = new BooleanFunction(25) {\n @Override\n public boolean getBool(Record rec) {\n return false;\n }\n\n @Override\n public void init(SymbolTableSource symbolTableSource, SqlExecutionContext executionContext) {\n }\n...
{ "body": "@Test\n public void testGetStr2() {\n final StringSink sink = new StringSink();\n functionA.getStr(null, sink);\n TestUtils.assertEquals(\"false\", sink);\n\n sink.clear();\n\n functionB.getStr(null, sink);\n TestUtils.assertEquals(\"true\", sink);\n }", "c...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/BooleanFunction.java", "identifier": "BooleanF...
{ "body": "@Override\n public final CharSequence getStr(Record rec) {\n return getStr0(rec);\n }", "class_method_signature": "BooleanFunction.getStr(Record rec)", "constructor": false, "full_signature": "@Override public final CharSequence getStr(Record rec)", "identifier": "getStr", "invocatio...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_505
{ "fields": [ { "declarator": "MUST_SWITCH = 1", "modifier": "public static final", "original_string": "public static final int MUST_SWITCH = 1;", "type": "int", "var_name": "MUST_SWITCH" }, { "declarator": "MUST_NOT_SWITCH = 2", "modifier": "public static final",...
{ "body": "@Test\n public void testReloadWithoutData() throws Exception {\n TestUtils.assertMemoryLeak(() -> {\n try (TableModel model = new TableModel(configuration, \"tab\", PartitionBy.DAY).col(\"x\", ColumnType.SYMBOL).col(\"y\", ColumnType.LONG)) {\n CairoTestUtils.create(mode...
{ "fields": [ { "declarator": "LOG = LogFactory.getLog(TableReader.class)", "modifier": "private static final", "original_string": "private static final Log LOG = LogFactory.getLog(TableReader.class);", "type": "Log", "var_name": "LOG" }, { "declarator": "YEAR_GEN = Tab...
{ "body": "public boolean reload() {\n return reloadMethod.reload(this);\n }", "class_method_signature": "TableReader.reload()", "constructor": false, "full_signature": "public boolean reload()", "identifier": "reload", "invocations": [ "reload" ], "modifiers": "public", "parameters": "(...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_285
{ "fields": [ { "declarator": "function = new DateFunction(25) {\n @Override\n public long getDate(Record rec) {\n return 163;\n }\n }", "modifier": "private static final", "original_string": "private static final DateFunction function = new DateFunction(25) {\...
{ "body": "@Test(expected = UnsupportedOperationException.class)\n public void testGetStrB() {\n function.getStrB(null);\n }", "class_method_signature": "DateFunctionTest.testGetStrB()", "constructor": false, "full_signature": "@Test(expected = UnsupportedOperationException.class) public void testG...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/DateFunction.java", "identifier": "DateFunctio...
{ "body": "@Override\n public final CharSequence getStrB(Record rec) {\n throw new UnsupportedOperationException();\n }", "class_method_signature": "DateFunction.getStrB(Record rec)", "constructor": false, "full_signature": "@Override public final CharSequence getStrB(Record rec)", "identifier": ...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_6
{ "fields": [ { "declarator": "function = new StrFunction(25) {\n @Override\n public CharSequence getStr(Record rec) {\n return \"a\";\n }\n\n @Override\n public CharSequence getStrB(Record rec) {\n return \"a\";\n }\n }", "modifier": ...
{ "body": "@Test(expected = UnsupportedOperationException.class)\n public void testGetDate() {\n function.getDate(null);\n }", "class_method_signature": "StrFunctionTest.testGetDate()", "constructor": false, "full_signature": "@Test(expected = UnsupportedOperationException.class) public void testGe...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/StrFunction.java", "identifier": "StrFunction"...
{ "body": "@Override\n public final long getDate(Record rec) {\n throw new UnsupportedOperationException();\n }", "class_method_signature": "StrFunction.getDate(Record rec)", "constructor": false, "full_signature": "@Override public final long getDate(Record rec)", "identifier": "getDate", "inv...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_456
{ "fields": [ { "declarator": "LOG = LogFactory.getLog(PGJobContextTest.class)", "modifier": "private static final", "original_string": "private static final Log LOG = LogFactory.getLog(PGJobContextTest.class);", "type": "Log", "var_name": "LOG" } ], "file": "core/src/test/ja...
{ "body": "@Test\n public void testUnsupportedParameterType() throws Exception {\n TestUtils.assertMemoryLeak(() -> {\n final CountDownLatch haltLatch = new CountDownLatch(1);\n final AtomicBoolean running = new AtomicBoolean(true);\n try {\n startBasicServer(...
{ "fields": [ { "declarator": "PG_VARCHAR = 1043", "modifier": "public static final", "original_string": "public static final int PG_VARCHAR = 1043;", "type": "int", "var_name": "PG_VARCHAR" }, { "declarator": "PG_TIMESTAMP = 1114", "modifier": "public static fina...
{ "body": "@Override\n public void close() {\n Misc.free(compiler);\n }", "class_method_signature": "PGJobContext.close()", "constructor": false, "full_signature": "@Override public void close()", "identifier": "close", "invocations": [ "free" ], "modifiers": "@Override public", "para...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_30
{ "fields": [ { "declarator": "function = new LongFunction(25) {\n @Override\n public long getLong(Record rec) {\n return 149;\n }\n }", "modifier": "private static final", "original_string": "private static final LongFunction function = new LongFunction(25) {\...
{ "body": "@Test(expected = UnsupportedOperationException.class)\n public void testGetRecordCursorFactory() {\n function.getRecordCursorFactory();\n }", "class_method_signature": "LongFunctionTest.testGetRecordCursorFactory()", "constructor": false, "full_signature": "@Test(expected = UnsupportedOp...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/LongFunction.java", "identifier": "LongFunctio...
{ "body": "@Override\n public RecordCursorFactory getRecordCursorFactory() {\n throw new UnsupportedOperationException();\n }", "class_method_signature": "LongFunction.getRecordCursorFactory()", "constructor": false, "full_signature": "@Override public RecordCursorFactory getRecordCursorFactory()",...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_513
{ "fields": [ { "declarator": "path = new Path()", "modifier": "private final static", "original_string": "private final static Path path = new Path();", "type": "Path", "var_name": "path" }, { "declarator": "otherPath = new Path()", "modifier": "private final sta...
{ "body": "@Test\n public void testRenameFail() throws Exception {\n TestUtils.assertMemoryLeak(() -> {\n createX();\n\n TestFilesFacade ff = new TestFilesFacade() {\n int counter = 1;\n\n @Override\n public boolean rename(LPSZ from, LPSZ to...
{ "fields": [ { "declarator": "LOG = LogFactory.getLog(CairoEngine.class)", "modifier": "private static final", "original_string": "private static final Log LOG = LogFactory.getLog(CairoEngine.class);", "type": "Log", "var_name": "LOG" }, { "declarator": "writerPool", ...
{ "body": "public void rename(\n CairoSecurityContext securityContext,\n Path path,\n CharSequence tableName,\n Path otherPath,\n CharSequence newName\n ) {\n securityContext.checkWritePermission();\n if (lock(securityContext, tableName)) {\n ...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_143
{ "fields": [ { "declarator": "functionA = new BooleanFunction(25) {\n @Override\n public boolean getBool(Record rec) {\n return false;\n }\n\n @Override\n public void init(SymbolTableSource symbolTableSource, SqlExecutionContext executionContext) {\n }\n...
{ "body": "@Test(expected = UnsupportedOperationException.class)\n public void testGetBinLen() {\n functionA.getBinLen(null);\n }", "class_method_signature": "BooleanFunctionTest.testGetBinLen()", "constructor": false, "full_signature": "@Test(expected = UnsupportedOperationException.class) public ...
{ "fields": [ { "declarator": "position", "modifier": "private final", "original_string": "private final int position;", "type": "int", "var_name": "position" } ], "file": "core/src/main/java/io/questdb/griffin/engine/functions/BooleanFunction.java", "identifier": "BooleanF...
{ "body": "@Override\n public long getBinLen(Record rec) {\n throw new UnsupportedOperationException();\n }", "class_method_signature": "BooleanFunction.getBinLen(Record rec)", "constructor": false, "full_signature": "@Override public long getBinLen(Record rec)", "identifier": "getBinLen", "inv...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...
19257422_397
{ "fields": [], "file": "core/src/test/java/io/questdb/griffin/FunctionParserTest.java", "identifier": "FunctionParserTest", "interfaces": "", "superclass": "extends BaseFunctionFactoryTest" }
{ "body": "@Test\n public void testImplicitConstantSymbol() throws SqlException {\n functions.add(new FunctionFactory() {\n @Override\n public String getSignature() {\n return \"x()\";\n }\n\n @Override\n public Function newInstance(ObjLi...
{ "fields": [ { "declarator": "LOG = LogFactory.getLog(FunctionParser.class)", "modifier": "private static final", "original_string": "private static final Log LOG = LogFactory.getLog(FunctionParser.class);", "type": "Log", "var_name": "LOG" }, { "declarator": "MATCH_NO...
{ "body": "public Function parseFunction(\n ExpressionNode node,\n RecordMetadata metadata,\n SqlExecutionContext executionContext\n ) throws SqlException {\n\n this.sqlExecutionContext = executionContext;\n\n if (this.metadata != null) {\n metadataStack.pu...
{ "created": "4/28/2014 11:29:15 PM +00:00", "fork": "False", "fork_count": null, "is_fork": null, "language": null, "license": "licensed", "repo_id": 19257422, "size": null, "stargazer_count": null, "stars": 212, "updates": "2020-01-27T20:58:34+00:00", "url": "https://github.com/questdb/questdb...