Class GenericQuery.CollectStrings
- java.lang.Object
-
- jetbrains.buildServer.serverSide.db.queries.GenericQuery.CollectStrings
-
- All Implemented Interfaces:
GenericQuery.ResultSetProcessor<Void>
- Enclosing class:
- GenericQuery<T>
public static class GenericQuery.CollectStrings extends Object implements GenericQuery.ResultSetProcessor<Void>
This processor collects string values from the first column into the given collection.
-
-
Constructor Summary
Constructors Constructor Description CollectStrings(Collection<String> result)
Creates an instance of string fetcher.
-
-
-
Constructor Detail
-
CollectStrings
public CollectStrings(@NotNull Collection<String> result)
Creates an instance of string fetcher.- Parameters:
result
- writable collection where fetched strings will be placed into.
-
-
Method Detail
-
process
public Void process(ResultSet rs) throws SQLException
- Specified by:
process
in interfaceGenericQuery.ResultSetProcessor<Void>
- Throws:
SQLException
-
-