Package de.bamberg.ha.cluster.annotations

Examples of de.bamberg.ha.cluster.annotations.ClusterClassMetaInfo


 
  public List<CassandraColumnInfo> mapClassToColumnList(Class entityClass) {
    List<CassandraColumnInfo> columns=new ArrayList<CassandraColumnInfo>();
   
    ClusterClassMetaInfo metaInfo=annotationAnalyzer.analyze(entityClass);
    for (PropertyDescriptor propertyDescriptor : metaInfo.getPersistentProperties() ) {
      Method writeMethod=propertyDescriptor.getWriteMethod();
      if (writeMethod!=null) {
        try {
          Serializer valueSerializer=SerializerFactory.getSerializerByClass(propertyDescriptor.getPropertyType());
         
View Full Code Here


    return columns;
  }
 
  public List<HColumn> mapEntityToHColumnList(Object entity) {
    List<HColumn> result=new ArrayList<HColumn>();
    ClusterClassMetaInfo metaInfo=annotationAnalyzer.analyze(entity);
    for (PropertyDescriptor propertyDescriptor : metaInfo.getPersistentProperties() ) {
      Method readMethod=propertyDescriptor.getReadMethod();
      if (readMethod!=null) {
        try {
         
          Serializer propertyNameSerializer=StringSerializer.get();
View Full Code Here

TOP

Related Classes of de.bamberg.ha.cluster.annotations.ClusterClassMetaInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.