HollowConsumerconsumer=...;consumer.triggerRefresh();UniqueKeyIndex<Movie,Integer>idx=Movie.uniqueIndex(consumer); This index can be held in memory and then used in conjunction with the generated Hollow API to
Low Level Input API¶ Although Hollow includes a few ready-made data ingestion utilities, other data ingestion utilities can be created. Adding data into Hollow starts with aHollowWriteStateEngine. We need to initialize a type state for each schema in our data model: ...
The value in B2 matches the value in C2, so the formula returns TRUE. First, enter the formula in cell D2 and then copy it down to other cells by dragging the fill handle to compare columns B and C row by row. The fill handle is a small green square in the bottom right corner o...
Subtracting time from another time is helpful if you want to find the time difference between two times. For example, if you want to find the time it took to complete a task, you can input both the start and end times of the task and subtract them to find the total elapsed time. Sin...
The integer 10 parameter will set the value for numOfSnapshotsToKeep. It is also possible to add your own blob storage cleaner by extending HollowProducer.BlobStorageCleaner class and provide your own mechanism to clean snapshots/deltas/reverse deltas. Hollow Explorer¶ Hollow ships with a UI...
Each record in a Hollow data state is assigned to a specific ordinal, which is an integer value. An ordinal:is a unique identifier of the record within a type. is sufficient to locate the record within a type.Ordinals are automatically assigned by Hollow. They lie in the range of 0-n...
Step 1:Copy the cell containing the constant number. Right-click on cell A7 and selectCopyor pressCtrl + C. Step 2:Select the range of cells you want to divide (e.g., A1:A5). Right-click within the selected range and choosePaste Special. ...
Integer Long Double Float Short Byte Character Memoizing POJOs in the HollowObjectMapper¶ If a long field named__assigned_ordinalis defined in a POJO class, thenHollowObjectMapperwill use this field to record the assigned ordinal when Objects of this class are added to the state engine. ...