net.esper.eql.subquery
Class SubqueryJoinedPropDesc

java.lang.Object
  extended by net.esper.eql.subquery.SubqueryJoinedPropDesc

public class SubqueryJoinedPropDesc
extends Object

Holds property information for joined properties in a subquery.


Constructor Summary
SubqueryJoinedPropDesc(String indexPropName, Class coercionType, String keyPropName, Integer keyStreamId)
          Ctor.
 
Method Summary
 Class getCoercionType()
          Returns the coercion type of key to index field.
static Class[] getCoercionTypes(Collection<SubqueryJoinedPropDesc> descList)
          Returns the key coercion types.
 String getIndexPropName()
          Returns the property name of the indexed field.
static String[] getKeyProperties(Collection<SubqueryJoinedPropDesc> descList)
          Returns the key property names.
 String getKeyPropName()
          Returns the property name of the key field.
 Integer getKeyStreamId()
          Returns the stream id of the key field.
static int[] getKeyStreamNums(Collection<SubqueryJoinedPropDesc> descList)
          Returns the key stream numbers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubqueryJoinedPropDesc

public SubqueryJoinedPropDesc(String indexPropName,
                              Class coercionType,
                              String keyPropName,
                              Integer keyStreamId)
Ctor.

Parameters:
indexPropName - is the property name of the indexed field
coercionType - is the type to coerce to
keyPropName - is the property name of the key field
keyStreamId - is the stream number of the key field
Method Detail

getIndexPropName

public String getIndexPropName()
Returns the property name of the indexed field.

Returns:
property name of indexed field

getCoercionType

public Class getCoercionType()
Returns the coercion type of key to index field.

Returns:
type to coerce to

getKeyPropName

public String getKeyPropName()
Returns the property name of the key field.

Returns:
property name of key field

getKeyStreamId

public Integer getKeyStreamId()
Returns the stream id of the key field.

Returns:
stream id

getKeyStreamNums

public static int[] getKeyStreamNums(Collection<SubqueryJoinedPropDesc> descList)
Returns the key stream numbers.

Parameters:
descList - a list of descriptors
Returns:
key stream numbers

getKeyProperties

public static String[] getKeyProperties(Collection<SubqueryJoinedPropDesc> descList)
Returns the key property names.

Parameters:
descList - a list of descriptors
Returns:
key property names

getCoercionTypes

public static Class[] getCoercionTypes(Collection<SubqueryJoinedPropDesc> descList)
Returns the key coercion types.

Parameters:
descList - a list of descriptors
Returns:
key coercion types