out fields logic

886
4
10-19-2016 09:37 AM
PaulWinward
New Contributor

Does the API support any sort of manipulation on the returned fields of a query?   According to QueryParameters (ArcGIS_Runtime_Java 10.2.4 API) , the relevant methods I see are setOutFields and setOutStatistics, but neither of them provide support for concatenating fields together or using something like case statements that I could with a select clause in an SQL statement.

Thanks for the help.

0 Kudos
4 Replies
BlakeTerhune
MVP Regular Contributor
0 Kudos
PaulWinward
New Contributor

My co-worker attended an ESRI-sponsored conference and learned that this was not possible.  They suggest making views in arcGis that has the fields in the format you need.

0 Kudos
BatbayarBazarragchaa
New Contributor III

How about working with returned fields on the client side?

0 Kudos
PaulWinward
New Contributor

Thanks for the reply.  That was actually the direction I had decided to go.  It is harder to do this though because in our application we let users specify dynamically how they want their data to be manipulated via SQL-like commands.  Looking into ANTLR.

0 Kudos