Class Query
java.lang.Object
com.ibm.wala.util.tables.Query
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Collection
<Map<String, T>> selectStarWhere
(Table<T> t, String column, Predicate<T> P) SELECT attribute FROM t where P(column)static <T> Collection
<Map<String, T>> selectStarWhereEquals
(Table<T> t, String column, T value) SELECT * from t where column=valuestatic <T> Collection
<T> selectWhereEquals
(Table<T> t, String attribute, String column, T value) SELECT attribute FROM t where column=valuestatic StringTable
viewWhereEquals
(StringTable t, String column, String value) static <T> Table
<T> viewWhereEquals
(Table<T> t, String column, T value)
-
Constructor Details
-
Query
public Query()
-
-
Method Details
-
selectStarWhereEquals
@NullUnmarked public static <T> Collection<Map<String,T>> selectStarWhereEquals(Table<T> t, String column, T value) throws IllegalArgumentException SELECT * from t where column=value- Throws:
IllegalArgumentException
- if t == null
-
selectWhereEquals
public static <T> Collection<T> selectWhereEquals(Table<T> t, String attribute, String column, T value) SELECT attribute FROM t where column=value -
selectStarWhere
-
viewWhereEquals
-
viewWhereEquals
-