These representations can be parsed using theHollowSchemaParser, and in turn can be used to initialize the state of aHollowWriteStateEngine: StringallSchemas=/// a String containing all schemasList<HollowSchema>schemas=HollowSchemaParser.parseCollectionOfSchemas(allSchemas);HollowWriteStateEngineinitialize...
Above, we're consuming a snapshot blob in order to initialize our state engine. Once this dataset is loaded into memory, we can access the data for any records using our generated API: MovieAPI movieApi = new MovieAPI(readEngine); for(Movie movie : movieApi.getAllMovieHollow()) { ...
Inversely, encoded into each reverse delta is a set of instructions to update a consumer in reverse -- from the current state to the previous state. Consumers may use the reverse delta later if we need to pin.When consumers initialize, they will use the most recent snapshot to initialize ...
String Boolean Integer Long Double Float Short Byte CharacterMemoizing POJOs in the HollowObjectMapper¶If a long field named __assigned_ordinal is defined in a POJO class, then HollowObjectMapper will use this field to record the assigned ordinal when Objects of this class are added to the ...