/** * Gets the dependency for a table, column tuple. * @param dc The data container of the column whose dependency is being inspected. * @param col The column whose dependency is being inspected. * @return Dependency for that particular table, column tuple. * null if no dependency is found. */ public Dependency getDependency(DataContainer dc, FieldSchema col) { return index.get(new DependencyKey(dc, col)); }
/** * Puts the dependency for a table, column tuple. * @param dc The datacontainer whose dependency is being inserted. * @param col The column whose dependency is being inserted. * @param dep The dependency. */ public void putDependency(DataContainer dc, FieldSchema col, Dependency dep) { index.put(new DependencyKey(dc, col), dep); }
/** * Gets the dependency for a table, column tuple. * @param dc The data container of the column whose dependency is being inspected. * @param col The column whose dependency is being inspected. * @return Dependency for that particular table, column tuple. * null if no dependency is found. */ public Dependency getDependency(DataContainer dc, FieldSchema col) { return index.get(new DependencyKey(dc, col)); }
/** * Gets the dependency for a table, column tuple. * @param dc The data container of the column whose dependency is being inspected. * @param col The column whose dependency is being inspected. * @return Dependency for that particular table, column tuple. * null if no dependency is found. */ public Dependency getDependency(DataContainer dc, FieldSchema col) { return index.get(new DependencyKey(dc, col)); }
/** * Puts the dependency for a table, column tuple. * @param dc The datacontainer whose dependency is being inserted. * @param col The column whose dependency is being inserted. * @param dep The dependency. */ public void putDependency(DataContainer dc, FieldSchema col, Dependency dep) { index.put(new DependencyKey(dc, col), dep); }
/** * Puts the dependency for a table, column tuple. * @param dc The datacontainer whose dependency is being inserted. * @param col The column whose dependency is being inserted. * @param dep The dependency. */ public void putDependency(DataContainer dc, FieldSchema col, Dependency dep) { index.put(new DependencyKey(dc, col), dep); }
/** * Gets the dependency for a table, column tuple. * @param dc The data container of the column whose dependency is being inspected. * @param col The column whose dependency is being inspected. * @return Dependency for that particular table, column tuple. * null if no dependency is found. */ public Dependency getDependency(DataContainer dc, FieldSchema col) { return index.get(new DependencyKey(dc, col)); }
/** * Puts the dependency for a table, column tuple. * @param dc The datacontainer whose dependency is being inserted. * @param col The column whose dependency is being inserted. * @param dep The dependency. */ public void putDependency(DataContainer dc, FieldSchema col, Dependency dep) { index.put(new DependencyKey(dc, col), dep); }