com.endeca.edf.adapter.plugins
Class JdbcAdapter

java.lang.Object
  extended by com.endeca.edf.adapter.plugins.JdbcAdapter
All Implemented Interfaces:
Adapter

public class JdbcAdapter
extends java.lang.Object
implements Adapter


Field Summary
static java.lang.String COLUMN_HANDLER_CLASSNAME
           
static java.lang.String DB_CONNECT_PROP
           
static java.lang.String DB_DRIVER_CLASS
           
static java.lang.String DB_PASSWORD
           
static java.lang.String DB_URL
           
static java.lang.String DB_USER
           
static java.lang.String SQL
           
 
Constructor Summary
JdbcAdapter()
           
 
Method Summary
 void execute(AdapterConfig adapterConfig, AdapterHandler localAdapterHandler)
          execute this Adapter
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DB_DRIVER_CLASS

public static final java.lang.String DB_DRIVER_CLASS
See Also:
Constant Field Values

DB_URL

public static final java.lang.String DB_URL
See Also:
Constant Field Values

DB_CONNECT_PROP

public static final java.lang.String DB_CONNECT_PROP
See Also:
Constant Field Values

SQL

public static final java.lang.String SQL
See Also:
Constant Field Values

DB_USER

public static final java.lang.String DB_USER
See Also:
Constant Field Values

DB_PASSWORD

public static final java.lang.String DB_PASSWORD
See Also:
Constant Field Values

COLUMN_HANDLER_CLASSNAME

public static final java.lang.String COLUMN_HANDLER_CLASSNAME
See Also:
Constant Field Values
Constructor Detail

JdbcAdapter

public JdbcAdapter()
Method Detail

execute

public void execute(AdapterConfig adapterConfig,
                    AdapterHandler localAdapterHandler)
             throws AdapterException
execute this Adapter

Specified by:
execute in interface Adapter
Parameters:
adapterConfig - a multimap of name-value pairs, containing adapter configuration
localAdapterHandler - used to "emit" or "return" documents from the Adapter, call emit on this functor to return records
Throws:
AdapterException - if a problem occurs
See Also:
Record


2003, 2012 Oracle and/or its affiliates. All rights reserved.
Oracle and/or its affiliates Confidential