if (args.length == 1) {
// we have a string or hash
if (args[0] instanceof RubyHash) {
RubyHash hash = (RubyHash)args[0];
for (Object _entry : hash.entrySet()) {
Entry<String, Object> entry = (Entry<String, Object>) _entry;
argumentsHash.put(PostgresHelpers.stringify(entry.getKey()), PostgresHelpers.stringify(entry.getValue()));
}
} else if (args[0] instanceof RubyString) {
String[] tokens = tokenizeString(args[0].asJavaString());