Tabnine Logo
DataBaseConnector.getFieldConfiguration
Code IndexAdd Tabnine to your IDE (free)

How to use
getFieldConfiguration
method
in
de.julielab.xmlData.dataBase.DataBaseConnector

Best Java code snippets using de.julielab.xmlData.dataBase.DataBaseConnector.getFieldConfiguration (Showing top 7 results out of 315)

origin: de.julielab/jcore-xmi-db-writer

Map<String, String> field = dbc.getFieldConfiguration(tableSchemaName).getFields().get(1);
String xmiFieldType = field.get(JulieXMLConstants.TYPE);
if (doGzip) {
origin: de.julielab/jcore-xmi-db-reader

numDataRetrievedDataFields = dbc.getFieldConfiguration().getColumnsToRetrieve().length;
log.info("{}: {}", PARAM_XERCES_ATTRIBUTE_BUFFER_SIZE, xercesAttributeBufferSize);
log.info("Data columns set for retrieval: {}",
    Arrays.toString(dbc.getFieldConfiguration().getColumnsToRetrieve()));
origin: de.julielab/jcore-db-reader

@Override
public void initialize(UimaContext context) throws ResourceInitializationException {
  super.initialize(context);
  // Check whether a subset table name or a data table name was given.
  if (readDataTable) {
    log.debug("Reading from data table {}", tableName);
    dataTableDocumentIds = dbc.query(tableName, Arrays.asList(dbc.getFieldConfiguration(dbc.getActiveTableSchema()).getPrimaryKey()));
    hasNext = dataTableDocumentIds.hasNext();
  } else {
    log.debug("Reading from subset table {}", tableName);
    hasNext = dbc.withConnectionQueryBoolean(c -> c.hasUnfetchedRows(tableName));
  }
}
origin: de.julielab/jcore-xmi-db-writer

FieldConfig annotationFieldConfig = dbc.getFieldConfiguration(schemaAnnotation);
origin: de.julielab/jcore-xmi-db-writer

  return;
FieldConfig annotationFieldConfig = dbc.getFieldConfiguration(schemaAnnotation);
String[] primaryKey = annotationFieldConfig.getPrimaryKey();
if (primaryKey.length > 1)
origin: de.julielab/jcore-xmi-db-writer

  return;
FieldConfig annotationFieldConfig = dbc.getFieldConfiguration(schemaDocument);
String[] primaryKey = annotationFieldConfig.getPrimaryKey();
if (primaryKey.length > 1)
origin: de.julielab/jcore-xmi-db-writer

if (!dbc.tableExists(effectiveTableName)) {
  log.info("Creating table '{}' with schema '{}' (columns: {}).",
      effectiveTableName, schema, dbc.getFieldConfiguration(schema).getColumns());
  String pgSchema = getTableSchema(effectiveTableName);
  if (!dbc.schemaExists(pgSchema))
de.julielab.xmlData.dataBaseDataBaseConnectorgetFieldConfiguration

Popular methods of DataBaseConnector

  • <init>
  • checkTableDefinition
  • getActiveDataPGSchema
  • obtainOrReserveConnection
  • tableExists
  • addXmiAnnotationFieldConfiguration
  • addXmiDocumentFieldConfiguration
  • addXmiTextFieldConfiguration
  • close
  • getActiveTableFieldConfiguration
  • getNextOrThisDataTable
  • getPrimaryKeyIndices
  • getNextOrThisDataTable,
  • getPrimaryKeyIndices,
  • isDataTable,
  • releaseConnections,
  • reserveConnection,
  • checkTableSchemaCompatibility,
  • countRowsOfDataTable,
  • countUnprocessed,
  • createSchema

Popular in Java

  • Updating database using SQL prepared statement
  • compareTo (BigDecimal)
  • getApplicationContext (Context)
  • addToBackStack (FragmentTransaction)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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