@Documented @Inherited @Retention(value=RUNTIME) @Target(value=TYPE) public @interface Tuple
@Tuple and its properties/accessors are annotated with
@Element(0), @Element(1), ..., @Element(n).
Example usage:
@Tuple
class Address {
@Element(0) String street;
@Element(1) @CassandraType(type = Name.ASCII) String city;
@Element(2) int sortOrder;
}
ElementCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.