Here you can find the source of quoteMonetDbIdentifier(String ident)
public static String quoteMonetDbIdentifier(String ident)
//package com.java2s; //License from project: Apache License public class Main { /**// w ww . jav a 2s.com * Quote and make the identifier MonetDB-proof by making lowercase and removing * special characters. */ public static String quoteMonetDbIdentifier(String ident) { // prepare identifier ident = prepareMonetDbIdentifier(ident); // make sure identifier is actually quoted ident = "\"" + ident + "\""; return ident; } /** * Make the identifier MonetDB-proof by making lowercase and removing special * characters. */ public static String prepareMonetDbIdentifier(String ident) { // MonetDB only supports lowercase identifiers ident = ident.toLowerCase(); // MonetDB doesn't support any special characters so replace with underscore ident = ident.replaceAll("[^a-zA-Z0-9]+", "_"); return ident; } }