Commit Graph

21 Commits

Author SHA1 Message Date
Collin Smith
2ace310ca3 Fixed compatibility with ByteOutput 2021-01-10 18:33:31 -08:00
Collin Smith
23449e2ef0 Added support for injecting references to records in foreign tables
Removed interface-based Injector implementation in favor of statically-based one
Injector required manifest fields which were generated after, causing errors
Created Manifest abstraction with Manifest#inject to perform injections
Added Manifest injection to Table constructor to enforce injection within Table#get
2021-01-07 14:04:41 -08:00
Collin Smith
4604d9c837 Updated comment 2021-01-06 23:28:26 -08:00
Collin Smith
f96011b9aa Improved lookup function to use upper case 2021-01-04 18:41:17 -08:00
Collin Smith
9fa2244429 Added support for record lookup via string primary key
Added support for record lookup via string primary key
TsvParser implements recordName(int) primaryKey(String) and primaryKey()
Added fast-forward recordName(int) into Parser base class to ParserInput
Merged parse record code within Table impl into parseRecord method call
2021-01-04 15:13:27 -08:00
Collin Smith
cc672557cd Added additional argument to Table class to initialize string lookup table 2021-01-04 14:36:13 -08:00
Collin Smith
257a8d3b40 Committing ParserMapper and RunesMapper implementation
Deprecated, but a good start if ever moved forward with
2020-12-27 20:03:37 -08:00
Collin Smith
cc807f60fa Implemented Table#preload
Implemented Table#preload
Removed Table#initialize() call from within Table#initialize(ParserInput)
2020-12-27 20:01:47 -08:00
Collin Smith
138c62c225 Created definitions for numRecords and numFields within ParserInput 2020-12-27 19:59:58 -08:00
Collin Smith
10178dfebc Created Schema#preload to trigger preloading of table records 2020-12-21 14:27:23 -08:00
Collin Smith
e0b4904efe Added support for foreign keys within schemas 2020-12-19 14:20:24 -08:00
Collin Smith
2996e164f2 Added additional documentation to Table and refactored parser init function call 2020-12-18 00:55:58 -08:00
Collin Smith
c736412b4b Created Tables and TsvParser impl in :core
Created Tables and TsvParser impl in :core
Added lazy loading of table records
2020-12-17 22:33:32 -08:00
Collin Smith
2511b7cfe5 Refactored ParserInput into Parser
Parser is now an abstract class
Parser requires overriding constructor to set ParserInput
Table initializes parser upon first parser(ParserInput) call
2020-12-17 17:52:50 -08:00
Collin Smith
33caecc32c Updated parser and table code generators
Changed signatures of TsvParser and renamed to ParserInput
Removed Parser#hasNext
Implemented Table#recordClass()
TableCodeGenerator generates a public constructor
2020-12-17 15:38:55 -08:00
Collin Smith
c82e615772 Created Parser interface and generation 2020-12-16 11:36:11 -08:00
Collin Smith
160109fdc9 Created Table#newSerializer
Created Table#newSerializer
Added default impl for MonStatsTableImpl#newSerializer
Created SchemaElement#serializerClassName
Refactored CodeGenerator#formatName to return a fq ClassName
Added null check for generated SchemaElement
Renamed CodeGenerator#generate variable to typeSpecBuilder
2020-12-16 01:12:21 -08:00
Collin Smith
d12a301703 Created TableCodeGenerator
Created and implemented TableCodeGenerator
Added stack trace printing for SchemaProcessor file io errors
Created Table#indexed
2020-12-16 00:22:47 -08:00
Collin Smith
d2451b08c1 Changed type param to R from T for record type 2020-12-15 23:32:56 -08:00
Collin Smith
e603b3a1f4 Implemented Table interface as abstract class 2020-12-15 23:32:29 -08:00
Collin Smith
fa819b0b9b Committing annotation-processor v2 experimentation 2020-12-15 12:07:38 -08:00