public Index getIndex(ValueMapping vm, DBIdentifier name, Table table, Column[] cols) { if (!_indexFK || vm.getForeignKey() == null || !vm.getForeignKey().isLogical()) return null; if (areAllPrimaryKeyColumns(cols)) return null; Index idx = new Index(); idx.setIdentifier(getIndexName(name, table, cols)); return idx; }
public Index getJoinIndex(FieldMapping fm, Table table, Column[] cols) { if (!_indexFK || fm.getJoinForeignKey() == null || !fm.getJoinForeignKey().isLogical()) return null; if (areAllPrimaryKeyColumns(cols)) return null; Index idx = new Index(); idx.setIdentifier(getIndexName(DBIdentifier.NULL, table, cols)); return idx; }
public Index getJoinIndex(FieldMapping fm, Table table, Column[] cols) { if (!_indexFK || fm.getJoinForeignKey() == null || !fm.getJoinForeignKey().isLogical()) return null; if (areAllPrimaryKeyColumns(cols)) return null; Index idx = new Index(); idx.setIdentifier(getIndexName(DBIdentifier.NULL, table, cols)); return idx; }
public Index getIndex(ValueMapping vm, DBIdentifier name, Table table, Column[] cols) { if (!_indexFK || vm.getForeignKey() == null || !vm.getForeignKey().isLogical()) return null; if (areAllPrimaryKeyColumns(cols)) return null; Index idx = new Index(); idx.setIdentifier(getIndexName(name, table, cols)); return idx; }
public Index getIndex(ValueMapping vm, String name, Table table, Column[] cols) { if (!_indexFK || vm.getForeignKey() == null || !vm.getForeignKey().isLogical()) return null; if (areAllPrimaryKeyColumns(cols)) return null; Index idx = new Index(); idx.setName(getIndexName(name, table, cols)); return idx; }
public Index getJoinIndex(FieldMapping fm, Table table, Column[] cols) { if (!_indexFK || fm.getJoinForeignKey() == null || !fm.getJoinForeignKey().isLogical()) return null; if (areAllPrimaryKeyColumns(cols)) return null; Index idx = new Index(); idx.setIdentifier(getIndexName(DBIdentifier.NULL, table, cols)); return idx; }
public Index getJoinIndex(FieldMapping fm, Table table, Column[] cols) { if (!_indexFK || fm.getJoinForeignKey() == null || !fm.getJoinForeignKey().isLogical()) return null; if (areAllPrimaryKeyColumns(cols)) return null; Index idx = new Index(); idx.setName(getIndexName(null, table, cols)); return idx; }
public Index getIndex(ValueMapping vm, DBIdentifier name, Table table, Column[] cols) { if (!_indexFK || vm.getForeignKey() == null || !vm.getForeignKey().isLogical()) return null; if (areAllPrimaryKeyColumns(cols)) return null; Index idx = new Index(); idx.setIdentifier(getIndexName(name, table, cols)); return idx; }
public Index getJoinIndex(FieldMapping fm, Table table, Column[] cols) { if (!_indexFK || fm.getJoinForeignKey() == null || !fm.getJoinForeignKey().isLogical()) return null; if (areAllPrimaryKeyColumns(cols)) return null; Index idx = new Index(); idx.setIdentifier(getIndexName(DBIdentifier.NULL, table, cols)); return idx; }
public Index getIndex(ValueMapping vm, DBIdentifier name, Table table, Column[] cols) { if (!_indexFK || vm.getForeignKey() == null || !vm.getForeignKey().isLogical()) return null; if (areAllPrimaryKeyColumns(cols)) return null; Index idx = new Index(); idx.setIdentifier(getIndexName(name, table, cols)); return idx; }