glaforge/gaelyk — Issue #81: Need a way to set Unindexed properties + POGO converter support
Author: codeconsole
Created: 2011-11-06 01:19:56+00:00
State: open

Having entities with properties that don't need to be indexed can have a pretty significant impact on performance and cost.

Gaelyk needs some sort of convenient way of setting unindexed properties as well as converter support.

I am not sure the best way to do this, perhaps introducing an annotation @Unindexed:

class Person {
String name
@Unindexed String description
}

def person = new Entity()
entity.name = "Bob"
entity.unindexed.description = "A nice person."

Person p = person as Person

Similarly:

def person = new Person()
person.name = "Bob"
person.description = "A nice person."
(person as Entity).save()