Enterprise Information Portal APIs

com.ibm.mm.sdk.common
Interface dkDatastoreIntQBIC

All Superinterfaces:
dkDatastore, dkQueryEvaluator, dkQueryManager
All Known Implementing Classes:
DKDatastoreQBIC

public interface dkDatastoreIntQBIC
extends dkDatastore

dkDatastoreIntQBIC: the following methods are additions or modifications of the existing method in the current implementation of dkDatastoreIntQBIC


Method Summary
 void addColorFeature()
          Add color feature to the current catalog
 void addColorHistogramFeature()
          Add color histogram feature to the current catalog
 void addDrawFeature()
          Add draw feature to the current catalog
 void addFeature(int featureSelection, boolean bReCatalog)
          Add feature to the current catalog
 void addTextureFeature()
          Add texture feature to the current catalog
 java.lang.String catalogName()
          Get the current catalog name
 void closeCatalog()
          Close current catalog
 void createCatalog(java.lang.String database_name, java.lang.String catalog_name)
          Create image search catalog
 void createDatabase(java.lang.String database_name)
          Create image search database
 java.lang.String databaseName()
          Get the current database name
 void deleteCatalog(java.lang.String database_name, java.lang.String catalog_name)
          Delete image search catalog
 void deleteDatabase(java.lang.String database_name)
          Delete image search database
 void deleteServer(java.lang.String aliasName)
           
 void deleteUser(java.lang.String userName)
           
 java.lang.String getLibServerName()
          Get the library server name
 java.lang.Object listCatalogs()
          List all catalogs in the current database
 java.lang.Object listCatalogs(java.lang.String database_name)
          List all catalogs in the specified database
 java.lang.Object listColorImages()
          List all images cataloged in the color feature in the current catalog.
 java.lang.Object listDatabases()
          List all databases in the image search server
 java.lang.Object listDrawImages()
          List all images cataloged in the draw feature in the current catalog.
 java.lang.Object listFeatures()
          List all features in the current catalog
 java.lang.Object listHistogramImages()
          List all images cataloged in the histogram feature in the current catalog.
 java.lang.Object listTextureImages()
          List all images cataloged in the texture feature in the current catalog.
 java.lang.Object listUsers()
           
 void openCatalog(java.lang.String database_name, java.lang.String catalog_name)
          Open QBIC catalog for a specified database
 void processImageQueue()
          Process the image queue.
 void processImages(DKImageRecordQBIC[] imageList, int count)
          Process a list of images for the current catalog
 void queueImages(DKImageRecordQBIC[] imageList, int count)
          Put a list of images into the image queue for later processing
 void reCatalogImages(int featureSelectionList)
          Recatalog the images
 void removeColorFeature()
          Remove color feature from the current catalog
 void removeColorHistogramFeature()
          Remove color histogram feature from the current catalog
 void removeDrawFeature()
          Remove draw feature from the current catalog
 void removeTextureFeature()
          Remove texture feature from the current catalog
 void updateServer(java.lang.String aliasName, java.lang.String hostName, int portNumber)
           
 void updateUser(java.lang.String userName, java.lang.String password)
           
 
Methods inherited from interface com.ibm.mm.sdk.common.dkDatastore
addExtension, addObject, addObject, addObject, addObjects, addObjects, addObjects, changePassword, clearCache, clearCache, commit, connect, connection, createDDO, createQuery, createQuery, datastoreDef, datastoreName, datastoreType, deleteObject, deleteObject, deleteObject, deleteObjects, deleteObjects, deleteObjects, destroy, disconnect, evaluate, evaluate, evaluate, evaluate, execute, execute, execute, execute, executeWithCallback, executeWithCallback, executeWithCallback, executeWithCallback, getExtension, getMapping, getOption, handle, isConnected, listAvailableServices, listDataSourceNames, listDataSources, listEntities, listEntityAttrNames, listEntityAttrs, listEntityNames, listExtensionNames, listMappingNames, listSchema, listSchemaAttributes, listSearchableEntities, listSearchableEntityNames, listSearchTemplateNames, listSearchTemplates, listServers, registerMapping, removeExtension, retrieveObject, retrieveObject, retrieveObject, retrieveObjects, retrieveObjects, retrieveObjects, rollback, serviceMgr, setOption, startTransaction, unRegisterMapping, updateObject, updateObject, updateObject, updateObjects, updateObjects, updateObjects, userName
 

Method Detail

createDatabase

public void createDatabase(java.lang.String database_name)
                    throws DKException,
                           java.lang.Exception
Create image search database
Parameters:
database_name - database name

deleteDatabase

public void deleteDatabase(java.lang.String database_name)
                    throws DKException,
                           java.lang.Exception
Delete image search database
Parameters:
database_name - database name

createCatalog

public void createCatalog(java.lang.String database_name,
                          java.lang.String catalog_name)
                   throws DKException,
                          java.lang.Exception
Create image search catalog
Parameters:
database_name - database name
catalog_name - catalog name

deleteCatalog

public void deleteCatalog(java.lang.String database_name,
                          java.lang.String catalog_name)
                   throws DKException,
                          java.lang.Exception
Delete image search catalog
Parameters:
database_name - database name
catalog_name - catalog name

openCatalog

public void openCatalog(java.lang.String database_name,
                        java.lang.String catalog_name)
                 throws DKException,
                        java.lang.Exception
Open QBIC catalog for a specified database
Parameters:
database_name - database name
catalog_name - catalog name

closeCatalog

public void closeCatalog()
                  throws DKException,
                         java.lang.Exception
Close current catalog

addColorFeature

public void addColorFeature()
                     throws DKException,
                            java.lang.Exception
Add color feature to the current catalog

addDrawFeature

public void addDrawFeature()
                    throws DKException,
                           java.lang.Exception
Add draw feature to the current catalog

addColorHistogramFeature

public void addColorHistogramFeature()
                              throws DKException,
                                     java.lang.Exception
Add color histogram feature to the current catalog

addTextureFeature

public void addTextureFeature()
                       throws DKException,
                              java.lang.Exception
Add texture feature to the current catalog

addFeature

public void addFeature(int featureSelection,
                       boolean bReCatalog)
                throws DKException,
                       java.lang.Exception
Add feature to the current catalog
Parameters:
featureSelection - specific feature
bReCatalog - when true image search server reanalyze the new feature for existing images.

removeColorFeature

public void removeColorFeature()
                        throws DKException,
                               java.lang.Exception
Remove color feature from the current catalog

removeDrawFeature

public void removeDrawFeature()
                       throws DKException,
                              java.lang.Exception
Remove draw feature from the current catalog

removeColorHistogramFeature

public void removeColorHistogramFeature()
                                 throws DKException,
                                        java.lang.Exception
Remove color histogram feature from the current catalog

removeTextureFeature

public void removeTextureFeature()
                          throws DKException,
                                 java.lang.Exception
Remove texture feature from the current catalog

processImages

public void processImages(DKImageRecordQBIC[] imageList,
                          int count)
                   throws DKException,
                          java.lang.Exception
Process a list of images for the current catalog
Parameters:
imageList - Image Record list
count - number of objects in the array

queueImages

public void queueImages(DKImageRecordQBIC[] imageList,
                        int count)
                 throws DKException,
                        java.lang.Exception
Put a list of images into the image queue for later processing
Parameters:
imageList - Image Record list
count - number of objects in the array

processImageQueue

public void processImageQueue()
                       throws DKException,
                              java.lang.Exception
Process the image queue.

reCatalogImages

public void reCatalogImages(int featureSelectionList)
                     throws DKException,
                            java.lang.Exception
Recatalog the images
Parameters:
featureSelectionList - feature list. features are ored together.

listDatabases

public java.lang.Object listDatabases()
                               throws DKException,
                                      java.lang.Exception
List all databases in the image search server
Returns:
a collection of DKIndexQBIC objects

listCatalogs

public java.lang.Object listCatalogs()
                              throws DKException,
                                     java.lang.Exception
List all catalogs in the current database
Returns:
a collection of DKIndexQBIC objects

listCatalogs

public java.lang.Object listCatalogs(java.lang.String database_name)
                              throws DKException,
                                     java.lang.Exception
List all catalogs in the specified database
Parameters:
database_name - database name
Returns:
a collection of DKIndexQBIC objects

listFeatures

public java.lang.Object listFeatures()
                              throws DKException,
                                     java.lang.Exception
List all features in the current catalog
Returns:
a collection of DKIndexQBIC objects

listColorImages

public java.lang.Object listColorImages()
                                 throws DKException,
                                        java.lang.Exception
List all images cataloged in the color feature in the current catalog.
Returns:
a collection of DKImageInfoQBIC objects

listHistogramImages

public java.lang.Object listHistogramImages()
                                     throws DKException,
                                            java.lang.Exception
List all images cataloged in the histogram feature in the current catalog.
Returns:
a collection of DKImageInfoQBIC objects

listDrawImages

public java.lang.Object listDrawImages()
                                throws DKException,
                                       java.lang.Exception
List all images cataloged in the draw feature in the current catalog.
Returns:
a collection of DKImageInfoQBIC objects

listTextureImages

public java.lang.Object listTextureImages()
                                   throws DKException,
                                          java.lang.Exception
List all images cataloged in the texture feature in the current catalog.
Returns:
a collection of DKImageInfoQBIC objects

databaseName

public java.lang.String databaseName()
                              throws DKException,
                                     java.lang.Exception
Get the current database name
Returns:
the database name

catalogName

public java.lang.String catalogName()
                             throws DKException,
                                    java.lang.Exception
Get the current catalog name
Returns:
the catalog name

getLibServerName

public java.lang.String getLibServerName()
                                  throws DKException,
                                         java.lang.Exception
Get the library server name
Returns:
the library server name

updateServer

public void updateServer(java.lang.String aliasName,
                         java.lang.String hostName,
                         int portNumber)
                  throws DKException,
                         java.lang.Exception

deleteServer

public void deleteServer(java.lang.String aliasName)
                  throws DKException,
                         java.lang.Exception

listUsers

public java.lang.Object listUsers()
                           throws DKException,
                                  java.lang.Exception

updateUser

public void updateUser(java.lang.String userName,
                       java.lang.String password)
                throws DKException,
                       java.lang.Exception

deleteUser

public void deleteUser(java.lang.String userName)
                throws DKException,
                       java.lang.Exception

EIP Java APIs

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.