|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.dataops.objectcol.resolution.AbsResolutionProcessor
wt.dataops.objectcol.resolution.BaseQueryProcessor
wt.dataops.objectcol.resolution.AttrQueryProcessor
Supported API: false
Extendable: false
Field Summary | |
private String |
attrName
|
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private String |
operator
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private List |
values
|
Fields inherited from class wt.dataops.objectcol.resolution.AbsResolutionProcessor |
|
Constructor Summary | |
AttrQueryProcessor()
|
Method Summary | |
protected QuerySpec |
appendAttrSearchCondition(QuerySpec spec,
LogicalOperator operator)
|
private void |
attrNameValidate(String a_AttrName)
|
protected SearchCondition[][] |
createAttrSearchCondition(List classes)
|
protected SearchCondition[][] |
createAttrSearchCondition(List classes,
Persistable[] pvalues)
|
protected SearchCondition[][] |
createAttrSearchCondition(List classes,
String[] strvalues)
|
protected SearchCondition |
createSearchConditionWithCorrectType(Class clz,
String attrName,
Class attrType,
String attrValue)
|
String |
getAttrName()
Gets the value of the attribute: attrName. |
String |
getOperator()
Gets the value of the attribute: operator. |
protected Class |
getTypeOfAttr(Class clz,
String attrName)
|
List |
getValues()
Gets the value of the attribute: values. |
void |
initialize(String attrName,
String operator,
List values)
Supported API: false |
private void |
operatorValidate(String a_Operator)
|
StatementSpecHolder[] |
process(StatementSpecHolder[] specs,
LogicalOperator operator)
Supported API: false |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(AttrQueryProcessor thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setAttrName(String a_AttrName)
Sets the value of the attribute: attrName. |
void |
setOperator(String a_Operator)
Sets the value of the attribute: operator. |
void |
setValues(List a_Values)
Sets the value of the attribute: values. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class wt.dataops.objectcol.resolution.BaseQueryProcessor |
initialize, readVersion |
Methods inherited from class wt.dataops.objectcol.resolution.AbsResolutionProcessor |
getInputMap, getInputs, readVersion, setInputMap, setInputs |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface wt.dataops.objectcol.resolution.ResolutionProcessor |
getInputMap, setInputMap |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private String attrName
private String operator
private List values
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public AttrQueryProcessor()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class BaseQueryProcessor
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class BaseQueryProcessor
input
-
IOException
ClassNotFoundException
protected boolean readVersion(AttrQueryProcessor thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public String getAttrName()
public void setAttrName(String a_AttrName) throws WTPropertyVetoException
a_AttrName
-
WTPropertyVetoException
private void attrNameValidate(String a_AttrName) throws WTPropertyVetoException
a_AttrName
-
WTPropertyVetoException
public String getOperator()
public void setOperator(String a_Operator) throws WTPropertyVetoException
a_Operator
-
WTPropertyVetoException
private void operatorValidate(String a_Operator) throws WTPropertyVetoException
a_Operator
-
WTPropertyVetoException
public List getValues()
public void setValues(List a_Values) throws WTPropertyVetoException
a_Values
-
WTPropertyVetoException
public void initialize(String attrName, String operator, List values) throws WTException
attrName
- operator
- values
-
WTException
public StatementSpecHolder[] process(StatementSpecHolder[] specs, LogicalOperator operator) throws WTException, QueryException
BaseQueryProcessor
process
in interface CollectionQueryProcessor
process
in class BaseQueryProcessor
specs
- operator
-
QueryException
WTException
protected QuerySpec appendAttrSearchCondition(QuerySpec spec, LogicalOperator operator) throws WTException
WTException
protected SearchCondition[][] createAttrSearchCondition(List classes) throws WTException
WTException
protected SearchCondition[][] createAttrSearchCondition(List classes, String[] strvalues) throws WTException
WTException
protected SearchCondition[][] createAttrSearchCondition(List classes, Persistable[] pvalues) throws WTException
WTException
protected Class getTypeOfAttr(Class clz, String attrName)
protected SearchCondition createSearchConditionWithCorrectType(Class clz, String attrName, Class attrType, String attrValue) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |