/** * Get the name of the sequence that will be used in the given circumstances * * @param number the index configuration number * @param isDistinct is a distinct table * @param isMap is a map table * @return the name of the sequence */ public static String getSequenceName(int number, boolean isDistinct, boolean isMap) { return BrowseIndex.getSequenceName(makeTableBaseName(number), isDistinct, isMap); }
/** * Get the name of the table for the given set of circumstances * This is provided solely for cleaning the database, where you are * trying to create table names that may not be reflected in the current index * * @param number the index configuration number * @param isCommunity whether this is a community constrained index (view) * @param isCollection whether this is a collection constrained index (view) * @param isDistinct whether this is a distinct table * @param isMap whether this is a distinct map table * @return the name of the table * @deprecated 1.5 */ public static String getTableName(int number, boolean isCommunity, boolean isCollection, boolean isDistinct, boolean isMap) { return BrowseIndex.getTableName(makeTableBaseName(number), isCommunity, isCollection, isDistinct, isMap); }