-
1. Re: Is it possible to include a WHERE type clause in CLI ?
wdfink Oct 30, 2012 11:15 AM (in response to ejroberts)You might use tab-completition to see all.
But there is no query language.
-
2. Re: Is it possible to include a WHERE type clause in CLI ?
ssilvert Oct 31, 2012 8:54 AM (in response to wdfink)1 of 1 people found this helpfulIf it's not possible to do what you want with the if-else control flow you could useAdvanced CLI scripting with Groovy, Rhino, Jython, etc. or try the JBoss AS7 Command-line public API and do it in java.
If you are talking about doing this interactively then I think you'll have to go with Mr. Fink's suggestion.
Stan
-
3. Re: Is it possible to include a WHERE type clause in CLI ?
ejroberts Nov 2, 2012 12:30 PM (in response to wdfink)Where would I be using tab completion ? Did you mean the CLI UI ?
-
4. Re: Is it possible to include a WHERE type clause in CLI ?
wdfink Nov 2, 2012 12:32 PM (in response to ejroberts)1 of 1 people found this helpfulIf you start interactive mode with 'bin/jboss-cli.sh --connect'' you can use the TAB to complete key's, attributes, attribute-values, commands etc.
-
5. Re: Is it possible to include a WHERE type clause in CLI ?
ejroberts Nov 2, 2012 12:40 PM (in response to ejroberts)Ahh, I think I understand...tab completion in the CLI command line shows me which commands are available. Thanks
-
6. Re: Is it possible to include a WHERE type clause in CLI ?
wdfink Nov 2, 2012 12:43 PM (in response to ejroberts)yep thats it, for Linux shell users (bash) it is very normal
-
7. Re: Is it possible to include a WHERE type clause in CLI ?
ejroberts Nov 2, 2012 12:46 PM (in response to wdfink)Thanks for the help guys! Much appreciated.
Looks like the only applicable options for me would be to use the APIs at runtime and try a two stage lookup, or have the value available elsewhere on the premise that the cache container is
not removed. It cannot be renamed in any case.