/******************************************************************************* * Copyright (c) 2004, 2007 IBM Corporation and Cambridge Semantics Incorporated. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * File: $Source: /cvsroot/slrp/boca/com.ibm.adtech.boca.common/src/com/ibm/adtech/boca/rdb/glitter/BocaSQL.java,v $ * Created by: Lee Feigenbaum (<a href="mailto:feigenbl@us.ibm.com">feigenbl@us.ibm.com</a>) * Created on: 10/27/06 * Revision: $Id: AnzoSQL.java 229 2007-08-07 15:22:00Z mroy $ * * Contributors: IBM Corporation - initial API and implementation * Cambridge Semantics Incorporated - Fork to Anzo *******************************************************************************/ package org.openanzo.jdbc.query; /** * Set of constants used in Glitter's RDB queries * * @author Matthew Roy ( <a href="mailto:mroy@cambridgesemantics.com">mroy@cambridgesemantics.com </a>) * */ public final class SQLQueryConstants { /** Constant for FAKE Table used to ensure non empty result sets for queries with no variables */ public static final String glitterUnitTable = "GLITTERUNIT"; /** Constant for FAKE table's column */ private static final String glitterUnitTableColumn = "FAKE"; /** Constant for full FAKE table's column name */ public static final String glitterUnitTableColumnFull = glitterUnitTable + "." + glitterUnitTableColumn; /** Constant for the fake variable */ public static final String glitterIgnoredVariable = "fakeVAR"; /** Name of the temporary table where valid default graph ids are placed */ public static final String defaultGraphsTempTable = "DEFAULTGRAPHS_TMP"; /** Name of the temporary table where valid named graph ids are placed */ public static final String namedGraphsTempTable = "NAMEDGRAPHS_TMP"; /** Name of the temporary table where graph ids are placed */ public static final String tempGraphsTempTable = "TEMPGRAPHS"; }