|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.ac.starlink.table.JoinStarTable.FixAction
Class defining the possible actions for doctoring column names when joining tables. Joining tables can cause confusion if columns with the same names exist in some of them. An instance of this class defines how the join should behave in this case.
Field Summary | |
static JoinStarTable.FixAction |
NO_ACTION
Column names should be left alone. |
Method Summary | |
static JoinStarTable.FixAction |
makeRenameAllAction(String appendage)
Returns an action indicating that all column names should be modified by appending a given string. |
static JoinStarTable.FixAction |
makeRenameDuplicatesAction(String appendage)
Returns an action indicating that column names which would be duplicated elsewhere in the result table should be modified by appending a given string. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final JoinStarTable.FixAction NO_ACTION
Method Detail |
public static JoinStarTable.FixAction makeRenameDuplicatesAction(String appendage)
appendage
- string to append to duplicate columnspublic static JoinStarTable.FixAction makeRenameAllAction(String appendage)
appendage
- string to append to columnspublic String toString()
toString
in class Object
|
Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |