|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsidnet.core.query.Query
public class Query
Field Summary | |
---|---|
static byte |
ALL
internal constants |
static int |
ANYTIME
internal constants |
static byte |
AVG
SELECT clause arguments |
static byte |
MAX
SELECT clause arguments |
static byte |
MIN
SELECT clause arguments |
static int |
NEVER
constants |
Constructor Summary | |
---|---|
Query()
The generator of id's |
|
Query(int queryID,
NetAddress sinkIP,
NCS_Location2D sinkNCS_2D,
NetAddress destIP,
byte aggregationType,
long samplingInterval,
long startTime,
long endTime,
Region region,
WhereClause whereClause)
|
|
Query(NetAddress sinkIP,
NCS_Location2D sinkNCS_2D,
NetAddress destIP,
byte aggregationType,
long samplingInterval,
long startTime,
long endTime,
Region region,
WhereClause whereClause)
Creates a new instance of Query |
|
Query(Query query)
|
Method Summary | |
---|---|
void |
dispatched(boolean val)
|
byte |
getAggregationType()
SELECT clause argument: ALL, MIN, MAX, AVG |
int |
getAsMessageSize()
|
NetAddress |
getDestIP()
|
long |
getEndTime()
|
int |
getID()
|
Region |
getRegion()
|
long |
getSamplingInterval()
|
NetAddress |
getSinkIP()
|
NCS_Location2D |
getSinkNCSLocation2D()
|
long |
getStartTime()
|
WhereClause |
getWhereClause()
|
boolean |
isDispatched()
|
void |
setAggregationType(byte aggregationType)
|
void |
setEndTime(long endTime)
|
void |
setID(int id)
|
void |
setRegion(Region region)
|
void |
setSamplingInterval(long samplingInterval)
|
void |
setSinkIP(NetAddress sinkIP)
|
void |
setSinkNCSLocation2D(NCS_Location2D sinkNCS_2D)
|
void |
setStartTime(long startTime)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NEVER
public static final int ANYTIME
public static final byte ALL
public static final byte AVG
public static final byte MIN
public static final byte MAX
Constructor Detail |
---|
public Query()
public Query(Query query)
public Query(NetAddress sinkIP, NCS_Location2D sinkNCS_2D, NetAddress destIP, byte aggregationType, long samplingInterval, long startTime, long endTime, Region region, WhereClause whereClause)
public Query(int queryID, NetAddress sinkIP, NCS_Location2D sinkNCS_2D, NetAddress destIP, byte aggregationType, long samplingInterval, long startTime, long endTime, Region region, WhereClause whereClause)
Method Detail |
---|
public void setSamplingInterval(long samplingInterval)
public long getSamplingInterval()
public void setAggregationType(byte aggregationType)
public byte getAggregationType()
public void setStartTime(long startTime)
public long getStartTime()
public void setEndTime(long endTime)
public long getEndTime()
public WhereClause getWhereClause()
public boolean isDispatched()
public void dispatched(boolean val)
public void setRegion(Region region)
public Region getRegion()
public void setID(int id)
public int getID()
public void setSinkIP(NetAddress sinkIP)
public NetAddress getSinkIP()
public void setSinkNCSLocation2D(NCS_Location2D sinkNCS_2D)
public NCS_Location2D getSinkNCSLocation2D()
public NetAddress getDestIP()
public int getAsMessageSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |