When wegenerate a client API, each type in our data model gets a custom index class called<typename>PrimaryKeyIndex. We can use these classes to look up records based onprimary keyvalues. Default Primary Keys¶ Once we have loaded a dataset into aHollowConsumer, we can use theMovieindex...
A Hollow data model is a set of schemas, which are usually defined by the POJOs used on the producer to populate the data. This section will use POJOs as examples, but there are other ways to define schemas -- for example you could ingest a text file and use the schema parser. Schema...
The primary key definition is optional and should be omitted if no primary key should be defined for a type. Object schemas may define any of the following field types:int,long,float,double,boolean,string,bytes. If a field has a type other than these, the field will be interpreted as a...