public class SqlPkLookup
extends java.lang.Object
Constructor and Description |
---|
SqlPkLookup(SqlDataManager dm,
java.lang.String table) |
Modifier and Type | Method and Description |
---|---|
void |
addConstraint(java.lang.String table,
java.lang.String column,
java.lang.Object value)
add a constraint to the lookup.
|
java.util.List<java.util.Map<java.lang.String,DataObject>> |
execute()
exete the lookup
|
void |
setLimit(int limit)
Limit the number of results to return.
|
public SqlPkLookup(@NotNull SqlDataManager dm, java.lang.String table)
dm
- The data managertable
- The tablepublic void setLimit(int limit)
limit
- public void addConstraint(java.lang.String table, java.lang.String column, java.lang.Object value) throws java.io.UnsupportedEncodingException
table
- column
- java.io.UnsupportedEncodingException
@NotNull public java.util.List<java.util.Map<java.lang.String,DataObject>> execute() throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException