Commit Graph

1894 Commits

Author SHA1 Message Date
Collin Smith
b4d54d687c Added additional test case for weapons using string primary key 2020-12-31 13:55:05 -08:00
Collin Smith
e0d4884b96 Added additional test case for ItemEntry super class 2020-12-31 13:53:37 -08:00
Collin Smith
72a83fa81e Created obj schema and customized table with tests 2020-12-31 02:11:07 -08:00
Collin Smith
acda9a23b4 Set indexed config for MonPreset schema 2020-12-31 01:51:25 -08:00
Collin Smith
4b656760d3 Removed primary key tag from Act field (should be marked indexed) 2020-12-31 01:47:21 -08:00
Collin Smith
ad3de24792 Improved test cases for MonPreset table 2020-12-31 01:44:47 -08:00
Collin Smith
cb31a45ed4 Created monstats schema and custom table impl and tests 2020-12-30 23:48:43 -08:00
Collin Smith
2afc050f6f Created ItemStatCost schema and custom table with tests 2020-12-27 23:07:37 -08:00
Collin Smith
ad5fb534ad Created BodyLocs schema and custom table with tests 2020-12-27 21:55:52 -08:00
Collin Smith
e511c3d87e Added trace logging to SoundsTable record init 2020-12-27 21:55:17 -08:00
Collin Smith
4ac194b335 Added preload for sounds table records test 2020-12-27 21:54:33 -08:00
Collin Smith
2ea6398d0c Created Sounds schema with custom SoundsTable and tests 2020-12-27 20:18:17 -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
dedc07799e Implemented Runes schema with custom RunesTable indexer and tests 2020-12-27 20:02:23 -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
e602b1660c Permit static final fields 2020-12-21 14:19:32 -08:00
Collin Smith
93ac1a70bd Set attributes for table files to have fixed line endings 2020-12-20 01:58:19 -08:00
Collin Smith
7ad9fd937c Additional test cases -- added assertions 2020-12-20 01:18:38 -08:00
Collin Smith
8aafd22da5 Committing additional schemas 2020-12-20 00:37:48 -08:00
Collin Smith
7e7dfa0213 Implemented foreign key into :core test case
Fixed issue where parser was generating code for foreign keys
Added additional test case to output tsv field names and ids map
Added MonStats2 foreign key to MonStats schema
Generated TableManifest fields are now statically instanced
2020-12-20 00:35:16 -08:00
Collin Smith
e0b4904efe Added support for foreign keys within schemas 2020-12-19 14:20:24 -08:00
Collin Smith
4e9f356b12 Removed table config annotations 2020-12-18 00:56:49 -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
050f7dfc73 Submitting uncommitted changes to com.riiablo.excel for posterity 2020-12-18 00:55:15 -08:00
Collin Smith
4139ecbd38 Fixed table parser initialization 2020-12-18 00:02:54 -08:00
Collin Smith
adbd5f78c4 Commented out javadoc triggering a deprecation warning 2020-12-17 23:54:09 -08:00
Collin Smith
831fd15592 Implemented basic loading logic 2020-12-17 23:38:26 -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
0465816f26 Code cleanup 2020-12-16 18:53:39 -08:00
Collin Smith
fc09a8213c Added generation of table manifest 2020-12-16 18:07:48 -08:00
Collin Smith
a5fd0e8b14 Made MonStatsParserImpl a concrete impl of Parser 2020-12-16 11:50:16 -08:00
Collin Smith
c82e615772 Created Parser interface and generation 2020-12-16 11:36:11 -08:00
Collin Smith
1308eb410c Added FieldElement#fieldNames
Added FieldElement#fieldNames
FormatElement now validates and generates an array of formatted field names
2020-12-16 03:11:20 -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
f9fe8d0c63 Made MonStatsSerializerImpl a concrete class 2020-12-16 01:09:14 -08:00
Collin Smith
2d546442c0 Reformatted code 2020-12-16 00:25:55 -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
77532fe576 Added field for Schema annotation 2020-12-16 00:05:37 -08:00
Collin Smith
1e3e2dd457 Added DeclaredType resolution to TableElement 2020-12-15 23:54:58 -08:00
Collin Smith
44282ad9ba Created CodeGenerator
Refactored some code generator responsibilities from SerializerCodeGenerator to CodeGenerator
2020-12-15 23:50:19 -08:00
Collin Smith
be46bab71e Code formatting 2020-12-15 23:34:42 -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
92ed0d3af2 Removed generating class parameter 2020-12-15 23:30:45 -08:00
Collin Smith
f16f8dc0ea Added transient support, committing SerializerCodeGenerator 2020-12-15 22:02:47 -08:00
Collin Smith
b578137fdc Added support for Serializer impl generation 2020-12-15 19:14:42 -08:00