Uses of Class
com.onenetwork.platform.data.sql.SqlRow
Package | Description |
---|---|
com.onenetwork.platform.data.sql |
Services for ad-hoc querying and other lower-level database access.
|
com.onenetwork.platform.integ.msg |
APIs for using Platform's message queuing system.
|
com.onenetwork.platform.integ.rest.problem |
Helper classes related to Problems, providing support for manipulating problem-related queries
prior to returning to the client layer.
|
com.onenetwork.platform.integ.rest.template |
Helper classes related to the Model Templates feature, providing support for manipulating template invocation results
prior to returning to the client layer.
|
-
Uses of SqlRow in com.onenetwork.platform.data.sql
Methods in com.onenetwork.platform.data.sql that return types with arguments of type SqlRow Modifier and Type Method Description java.util.List<SqlRow>
SqlResult. getRows()
Returns all SqlRows which are part of this overall result<T> java.util.Map<T,SqlRow>
SqlResult. toMap(java.lang.String keyColumnName, java.lang.Class<T> clazz)
Given a column name, returns a Map where the key in the Map is the value associated with that column, and the value in the Map is the SqlRow which had that value.<T> java.util.Map<T,java.util.List<SqlRow>>
SqlResult. toMultiMap(java.lang.String keyColumnName, java.lang.Class<T> clazz)
Similar toSqlResult.toMap(String, Class)
, but if there are multiple SqlRow with the same key column value, it retains them all in a List.Methods in com.onenetwork.platform.data.sql with parameters of type SqlRow Modifier and Type Method Description void
SqlResult. addRow(SqlRow row)
Adds a new row to the overall resultvoid
AbstractSqlResultHandler. processSqlRow(SqlRow sqlRow)
void
SqlResultHandler. processSqlRow(SqlRow sqlRow)
This event is fired as each SqlRow is fetched; interested parties can listen to this method to process each rowMethod parameters in com.onenetwork.platform.data.sql with type arguments of type SqlRow Modifier and Type Method Description void
SqlResult. addRows(java.util.Collection<SqlRow> addRows)
Adds many new rows to the overall result -
Uses of SqlRow in com.onenetwork.platform.integ.msg
Methods in com.onenetwork.platform.integ.msg with parameters of type SqlRow Modifier and Type Method Description void
SqlDefCsvTransformer. transform(SqlRow sqlRow, CsvRow row, CsvTransformContext context)
Transforms the SqlRow into a CsvRow.void
SqlDefOutboundCsvTransformer. transform(SqlRow sqlRow, CsvRow csvRow, OutboundCsvTransformContext transformContext)
Deprecated.Transforms the SqlRow into a CsvRow. -
Uses of SqlRow in com.onenetwork.platform.integ.rest.problem
Method parameters in com.onenetwork.platform.integ.rest.problem with type arguments of type SqlRow Modifier and Type Method Description void
BaseProblemResourceListener. afterPartnerRecordsRead(java.util.List<SqlRow> sqlRows, PlatformUserContext pltCtx)
Called after the partner organizations has been read to build the response for lines/getPartnerOrgs API. -
Uses of SqlRow in com.onenetwork.platform.integ.rest.template
Methods in com.onenetwork.platform.integ.rest.template with parameters of type SqlRow Modifier and Type Method Description static void
BaseTemplateResourceListener. convertTemplateSQLToJSON(org.json.JSONObject retObj, SqlRow sqlRow, PlatformUserContext platformUserContext)
Helper method that converts a Template instance in the form of aSqlRow
to aJSONObject
that can be passed to the client.