Package com.im.commons.db.ddl
Class DBIndexInfo.IndexColumn
- java.lang.Object
-
- com.im.commons.db.ddl.DBIndexInfo.IndexColumn
-
- All Implemented Interfaces:
DBIndexInfo.Column
,java.io.Serializable
- Enclosing class:
- DBIndexInfo
public static class DBIndexInfo.IndexColumn extends java.lang.Object implements DBIndexInfo.Column, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IndexColumn()
IndexColumn(java.lang.String columnName, java.lang.Boolean ascending)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getColumnName()
int
hashCode()
java.lang.Boolean
isAscending()
-
-
-
Method Detail
-
getColumnName
public java.lang.String getColumnName()
- Specified by:
getColumnName
in interfaceDBIndexInfo.Column
- Returns:
- The name of the column
-
isAscending
public java.lang.Boolean isAscending()
- Specified by:
isAscending
in interfaceDBIndexInfo.Column
- Returns:
- True or false, or null if not supported by the database or the type of index
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-