org.apache.lucene.store.jdbc.support
Class JdbcTable

java.lang.Object
  extended by org.apache.lucene.store.jdbc.support.JdbcTable

public class JdbcTable
extends Object

An internal representation of a database table used to store the JdbcDirectory settings.

Author:
kimchy

Constructor Summary
JdbcTable(JdbcDirectorySettings settings, Dialect dialect, String name)
           
JdbcTable(JdbcDirectorySettings settings, Dialect dialect, String name, String catalog, String schema)
           
 
Method Summary
 String getCatalog()
           
 JdbcColumn getDeletedColumn()
           
 Dialect getDialect()
           
 JdbcColumn getLastModifiedColumn()
           
 String getName()
           
 JdbcColumn getNameColumn()
           
 String getQualifiedName()
           
 String getQuotedName()
           
 String getQuotedSchema()
           
 String getSchema()
           
 JdbcDirectorySettings getSettings()
           
 JdbcColumn getSizeColumn()
           
 JdbcColumn getValueColumn()
           
static String qualify(String catalog, String schema, String table)
           
 void setCatalog(String catalog)
           
 void setName(String name)
           
 void setSchema(String schema)
           
 String sqlCreate()
           
 String sqlDeletaAll()
           
 String sqlDeletaMarkDeleteByDelta()
           
 String sqlDeleteByName()
           
 String sqlDrop()
           
 String sqlInsert()
           
 String sqlMarkDeleteByName()
           
 String sqlSelecltLastModifiedByName()
           
 String sqlSelectNameExists()
           
 String sqlSelectNameForUpdateNoWait()
           
 String sqlSelectNames()
           
 String sqlSelectSizeByName()
           
 String sqlSelectSizeValueByName()
           
 String sqlUpdateLastModifiedByName()
           
 String sqlUpdateNameByName()
           
 String sqlUpdateSizeLastModifiedByName()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JdbcTable

public JdbcTable(JdbcDirectorySettings settings,
                 Dialect dialect,
                 String name)

JdbcTable

public JdbcTable(JdbcDirectorySettings settings,
                 Dialect dialect,
                 String name,
                 String catalog,
                 String schema)
Method Detail

setName

public void setName(String name)

getName

public String getName()

setSchema

public void setSchema(String schema)

getSchema

public String getSchema()

getCatalog

public String getCatalog()

setCatalog

public void setCatalog(String catalog)

getNameColumn

public JdbcColumn getNameColumn()

getSizeColumn

public JdbcColumn getSizeColumn()

getValueColumn

public JdbcColumn getValueColumn()

getLastModifiedColumn

public JdbcColumn getLastModifiedColumn()

getDeletedColumn

public JdbcColumn getDeletedColumn()

sqlSelectNames

public String sqlSelectNames()

sqlSelectNameExists

public String sqlSelectNameExists()

sqlSelecltLastModifiedByName

public String sqlSelecltLastModifiedByName()

sqlUpdateLastModifiedByName

public String sqlUpdateLastModifiedByName()

sqlDeleteByName

public String sqlDeleteByName()

sqlUpdateNameByName

public String sqlUpdateNameByName()

sqlSelectSizeByName

public String sqlSelectSizeByName()

sqlDeletaMarkDeleteByDelta

public String sqlDeletaMarkDeleteByDelta()

sqlInsert

public String sqlInsert()

sqlUpdateSizeLastModifiedByName

public String sqlUpdateSizeLastModifiedByName()

sqlSelectSizeValueByName

public String sqlSelectSizeValueByName()

sqlSelectNameForUpdateNoWait

public String sqlSelectNameForUpdateNoWait()

sqlMarkDeleteByName

public String sqlMarkDeleteByName()

sqlDeletaAll

public String sqlDeletaAll()

sqlCreate

public String sqlCreate()

sqlDrop

public String sqlDrop()

getQualifiedName

public String getQualifiedName()

getQuotedName

public String getQuotedName()

getQuotedSchema

public String getQuotedSchema()

qualify

public static String qualify(String catalog,
                             String schema,
                             String table)

toString

public String toString()
Overrides:
toString in class Object

getSettings

public JdbcDirectorySettings getSettings()

getDialect

public Dialect getDialect()


Copyright (c) 2004-2008 The Compass Project.