@Documented
@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
@Experimental(value=SCHEMAS)
public @interface SchemaIgnore
For example, a Java POJO with a field that we don't want included in the schema.
@DefaultSchema(JavaBeanSchema.class)
class MyClass {
public String user;
public int age;
@SchemaIgnore public String pleaseDontAddToSchema;
}
In this case, the pleaseDontAddToSchema will be excluded from the schema, and implicitly dropped from calculations.