/******************************************************************************* * 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.model/src/com/ibm/adtech/boca/glitter/BocaServerSQL.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: ServerSQL.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.datasource.nodecentric.query; /** * Constants used during glitter queries * * @author Matthew Roy ( <a href="mailto:mroy@cambridgesemantics.com">mroy@cambridgesemantics.com </a>) * */ final class ServerSQL { /** Reference to the prepared statement to clear the temp graph table */ static final String ClearTempDatasetGraphs = "Glitter.clearTempDatasetTable"; /** Name of the (all) statements table */ static final String statementTable = "ALL_STMTS_VIEW"; /** Name of the non-revisioned statements table */ static final String nonRevisionedStatementTable = "STATEMENTS_NR"; /** Name of the revisioned statements table */ static final String revisionedStatementTable = "STATEMENTS"; /** Name of the temporary table that holds the default graph's URIs */ static final String defaultGraphsTempTable = "DEFAULTGRAPHS_TMP"; /** Name of the temporary table that holds the named graph's URIs */ static final String namedGraphsTempTable = "NAMEDGRAPHS_TMP"; /** Name of the temporary table that holds graph URIs */ static final String tempGraphsTempTable = "TEMPGRAPHS"; }