AnyLogic
Expand
Font size
  • java.lang.Object
    • com.anylogic.engine.database.DatabaseDescriptor
All Implemented Interfaces:
java.io.Serializable

@AnyLogicInternalAPI
public class DatabaseDescriptor
extends java.lang.Object
implements java.io.Serializable
See Also:
Serialized Form

Constructor Summary

Constructors 
DatabaseDescriptor​(DatabaseType type, java.lang.String jdbcDriver, java.lang.String connectionURL, java.util.Properties connectionInfo)  
DatabaseDescriptor​(DatabaseType type, java.lang.String jdbcDriver, java.lang.String connectionURL, java.util.Properties connectionInfo, java.lang.String fileName)  
Constructor Description

Method Summary

All Methods Instance Methods Concrete Methods 
java.sql.Connection createConnection()  
boolean equals​(java.lang.Object obj)  
java.lang.String getFileName()  
DatabaseType getType()  
int hashCode()  
void setExcelStreamingMode​(DatabaseExcelStreamingMode mode)  
Modifier and Type Method Description

Methods inherited from class java.lang.Object

getClass, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

DatabaseDescriptor

public DatabaseDescriptor​(DatabaseType type,
                          java.lang.String jdbcDriver,
                          java.lang.String connectionURL,
                          java.util.Properties connectionInfo)

DatabaseDescriptor

public DatabaseDescriptor​(DatabaseType type,
                          java.lang.String jdbcDriver,
                          java.lang.String connectionURL,
                          java.util.Properties connectionInfo,
                          java.lang.String fileName)

Method Detail

getType

public DatabaseType getType()

getFileName

public java.lang.String getFileName()

createConnection

public java.sql.Connection createConnection()
                                     throws java.sql.SQLException
Throws:
java.sql.SQLException

setExcelStreamingMode

public void setExcelStreamingMode​(DatabaseExcelStreamingMode mode)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals​(java.lang.Object obj)
Overrides:
equals in class java.lang.Object
How can we improve this article?