org.usergrid.persistence.cassandra
Class GeoIndexManager.EntityLocationRef

java.lang.Object
  extended by org.usergrid.persistence.cassandra.GeoIndexManager.EntityLocationRef
All Implemented Interfaces:
EntityRef
Enclosing class:
GeoIndexManager

public static class GeoIndexManager.EntityLocationRef
extends Object
implements EntityRef


Constructor Summary
GeoIndexManager.EntityLocationRef()
           
GeoIndexManager.EntityLocationRef(EntityRef entity, double latitude, double longitude)
           
GeoIndexManager.EntityLocationRef(EntityRef entity, UUID timestampUuid, double latitude, double longitude)
           
GeoIndexManager.EntityLocationRef(EntityRef entity, UUID timestampUuid, String coord)
           
GeoIndexManager.EntityLocationRef(String type, UUID uuid, double latitude, double longitude)
           
GeoIndexManager.EntityLocationRef(String type, UUID uuid, UUID timestampUuid, double latitude, double longitude)
           
 
Method Summary
 me.prettyprint.hector.api.beans.DynamicComposite getColumnName()
           
 me.prettyprint.hector.api.beans.DynamicComposite getColumnValue()
           
 double getLatitude()
           
 double getLongitude()
           
 com.beoui.geocell.model.Point getPoint()
           
 long getTimestampInMicros()
           
 long getTimestampInMillis()
           
 UUID getTimestampUuid()
           
 String getType()
          Gets the type.
 UUID getUuid()
          Gets the id.
 void setLatitude(double latitude)
           
 void setLongitude(double longitude)
           
 void setTimestampUuid(UUID timestampUuid)
           
 void setType(String type)
           
 void setUuid(UUID uuid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoIndexManager.EntityLocationRef

public GeoIndexManager.EntityLocationRef()

GeoIndexManager.EntityLocationRef

public GeoIndexManager.EntityLocationRef(EntityRef entity,
                                         double latitude,
                                         double longitude)

GeoIndexManager.EntityLocationRef

public GeoIndexManager.EntityLocationRef(String type,
                                         UUID uuid,
                                         double latitude,
                                         double longitude)

GeoIndexManager.EntityLocationRef

public GeoIndexManager.EntityLocationRef(EntityRef entity,
                                         UUID timestampUuid,
                                         double latitude,
                                         double longitude)

GeoIndexManager.EntityLocationRef

public GeoIndexManager.EntityLocationRef(String type,
                                         UUID uuid,
                                         UUID timestampUuid,
                                         double latitude,
                                         double longitude)

GeoIndexManager.EntityLocationRef

public GeoIndexManager.EntityLocationRef(EntityRef entity,
                                         UUID timestampUuid,
                                         String coord)
Method Detail

getUuid

public UUID getUuid()
Description copied from interface: EntityRef
Gets the id.

Specified by:
getUuid in interface EntityRef
Returns:
the id

setUuid

public void setUuid(UUID uuid)

getType

public String getType()
Description copied from interface: EntityRef
Gets the type.

Specified by:
getType in interface EntityRef
Returns:
the type

setType

public void setType(String type)

getTimestampUuid

public UUID getTimestampUuid()

setTimestampUuid

public void setTimestampUuid(UUID timestampUuid)

getLatitude

public double getLatitude()

setLatitude

public void setLatitude(double latitude)

getLongitude

public double getLongitude()

setLongitude

public void setLongitude(double longitude)

getPoint

public com.beoui.geocell.model.Point getPoint()

getColumnName

public me.prettyprint.hector.api.beans.DynamicComposite getColumnName()

getColumnValue

public me.prettyprint.hector.api.beans.DynamicComposite getColumnValue()

getTimestampInMicros

public long getTimestampInMicros()

getTimestampInMillis

public long getTimestampInMillis()


Copyright © 2013. All Rights Reserved.