I have a table that holds two kinds of items. Each Hash key has a handful of both of those item types, and each of those has a unique range key. I've designed two corresponding and properly Dynamo-annotated Pojos, however, I am a little confused about querying. I understand that I give the Query a Pojo class on which to Query, but if I query for a hash key giving it, say, PojoA for the expected class, will Dynamo automatically only get those PojoA's or will it also attempt to cast PojoB's found from the Hash key query as PojoA's?
Aucun commentaire:
Enregistrer un commentaire