I know how to table in google BigTable.I have one doubt regarding this.what are all the datatype supported by google BigTable.
Thanks in advance
I know how to table in google BigTable.I have one doubt regarding this.what are all the datatype supported by google BigTable.
Thanks in advance
Bigtable can store all Object types. Its just a giant key-value dictionary
Quoting the Class and Field Annotations section from Using JPA with App Engine:
Fields of the data class that are to be stored in the datastore must either be of a type that is persisted by default or expliclty declared as persistent. You can find a chart detailing JPA default persistence behavior on the DataNucleus website. To explicitly declare a field as persistent, you give it an
@Basic
annotation:import java.util.Date; import javax.persistence.Enumerated; import com.google.appengine.api.datastore.ShortBlob; // ... @Basic private ShortBlob data;
The type of a field can be any of the following:
- one of the core types supported by the datastore
- a Collection (such as a
java.util.List<...>
) of values of a core datastore type- an instance or Collection of instances of a
@Entity
class- an embedded class, stored as properties on the entity
To define and use Email
and PhoneNumber
as data types, create entities for them and map them as @OneToOne
or make them @Embeddable
.
Check here for a list of datatypes supported in GAE using JDO:
http://code.google.com/appengine/docs/java/datastore/dataclasses.html