com.hazelcast.query.impl
Class ReflectionHelper

java.lang.Object
  extended by com.hazelcast.query.impl.ReflectionHelper

public final class ReflectionHelper
extends Object

Scans your classpath, indexes the metadata, allows you to query it on runtime.


Method Summary
static Comparable extractValue(Object object, String attributeName)
           
static AttributeType getAttributeType(Class klass)
           
static AttributeType getAttributeType(Object value, String attribute)
           
static void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAttributeType

public static AttributeType getAttributeType(Class klass)

reset

public static void reset()

getAttributeType

public static AttributeType getAttributeType(Object value,
                                             String attribute)

extractValue

public static Comparable extractValue(Object object,
                                      String attributeName)
                               throws Exception
Throws:
Exception


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.