- applyEvent
Take a full snapshot and apply an MS event to it.We pass serializer as a
parameter to simplify testi
- renamePrefixKeys
Walk through the map and rename all instances of oldKey to newKey.
- addPartition
Add partition just adds a new location to the existing table.
- alterTable
ALTER TABLE is a complicated function that can alter multiple things.We take
care iof the following
- createDatabase
Add mapping from the new database name to location {dbname: {location}}.
- createTable
Add mapping for dbName.tableName.
- dropDatabase
Remove a mapping from database name and remove all mappings which look like
dbName.tableName where d
- dropPartition
Drop partition removes location from the existing table.
- dropTable
Drop mapping from dbName.tableName
- mergeMaps
Merge replacement values into the original map but only if they are not already
there.