congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
Field.getTableOid
Code IndexAdd Tabnine to your IDE (free)

How to use
getTableOid
method
in
org.postgresql.core.Field

Best Java code snippets using org.postgresql.core.Field.getTableOid (Showing top 7 results out of 315)

origin: org.postgresql/postgresql

public String getBaseColumnName(int column) throws SQLException {
 Field field = getField(column);
 if (field.getTableOid() == 0) {
  return "";
 }
 fetchFieldMetaData();
 return field.getMetadata().columnName;
}
origin: postgresql/postgresql

if (fields[i].getTableOid() == 0)
  continue;
sql.append(fields[i].getTableOid());
if (!hasSourceInfo)
  sql.append(" AS oid ");
boolean autoIncrement = rs.getBoolean(7);
for (int i=0; i<fields.length; i++) {
  if (fields[i].getTableOid() == table && fields[i].getPositionInTable() == column) {
    fields[i].setColumnName(columnName);
    fields[i].setTableName(tableName);
origin: org.postgresql/postgresql

sql.append(field.getTableOid());
if (!hasSourceInfo) {
 sql.append(" AS oid ");
origin: org.postgresql/postgresql

private boolean populateFieldsWithMetadata(Gettable<FieldMetadata.Key, FieldMetadata> metadata) {
 boolean allOk = true;
 for (Field field : fields) {
  if (field.getMetadata() != null) {
   // No need to update metadata
   continue;
  }
  final FieldMetadata fieldMetadata =
    metadata.get(new FieldMetadata.Key(field.getTableOid(), field.getPositionInTable()));
  if (fieldMetadata == null) {
   allOk = false;
  } else {
   field.setMetadata(fieldMetadata);
  }
 }
 fieldInfoFetched |= allOk;
 return allOk;
}
origin: org.ancoron.postgresql/org.postgresql.osgi

public String getBaseTableName(int column) throws SQLException
  if (field.getTableOid() == 0)
  Integer tableOid = new Integer(field.getTableOid());
  if (tableNameCache == null)
origin: org.ancoron.postgresql/org.postgresql.osgi

public String getBaseSchemaName(int column) throws SQLException
  if (field.getTableOid() == 0)
  Integer tableOid = new Integer(field.getTableOid());
  if (schemaNameCache == null)
origin: org.ancoron.postgresql/org.postgresql

if (fields[i].getTableOid() == 0)
  continue;
sql.append(fields[i].getTableOid());
if (!hasSourceInfo)
  sql.append(" AS oid ");
boolean autoIncrement = rs.getBoolean(7);
for (int i=0; i<fields.length; i++) {
  if (fields[i].getTableOid() == table && fields[i].getPositionInTable() == column) {
    fields[i].setColumnName(columnName);
    fields[i].setTableName(tableName);
org.postgresql.coreFieldgetTableOid

Popular methods of Field

  • <init>
  • getColumnLabel
  • getFormat
  • getMod
  • getOID
  • setFormat
  • getAutoIncrement
  • getColumnName
  • getNullable
  • getPositionInTable
  • getSchemaName
  • getTableName
  • getSchemaName,
  • getTableName,
  • setAutoIncrement,
  • setColumnName,
  • setNullable,
  • setSchemaName,
  • setTableName,
  • getLength,
  • getMetadata

Popular in Java

  • Creating JSON documents from java classes using gson
  • findViewById (Activity)
  • compareTo (BigDecimal)
  • getSystemService (Context)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now