/** * Upadate the field definitions for this derived field * * @param fieldDefs the fields as an ArrayList of Attributes * @throws Exception if there is a problem setting the field definitions */ public void setFieldDefs(ArrayList<Attribute> fieldDefs) throws Exception { m_expression.setFieldDefs(fieldDefs); }
/** * Upadate the field definitions for this derived field * * @param fieldDefs the fields as an ArrayList of Attributes * @throws Exception if there is a problem setting the field definitions */ public void setFieldDefs(ArrayList<Attribute> fieldDefs) throws Exception { m_expression.setFieldDefs(fieldDefs); }
public void pushParameterDefs() throws Exception { if (m_parameterDefs == null) { throw new Exception("[DefineFunction] parameter definitions are null! Can't " + "push them to encapsulated expression."); } m_expression.setFieldDefs(m_parameterDefs); }
public void pushParameterDefs() throws Exception { if (m_parameterDefs == null) { throw new Exception("[DefineFunction] parameter definitions are null! Can't " + "push them to encapsulated expression."); } m_expression.setFieldDefs(m_parameterDefs); }
/** * Set the field definitions for this Expression to use * * @param fieldDefs the field definitions to use * @throws Exception if there is a problem setting the field definitions */ @Override public void setFieldDefs(ArrayList<Attribute> fieldDefs) throws Exception { super.setFieldDefs(fieldDefs); setUpField(); }
/** * Set the field definitions for this Expression to use * * @param fieldDefs the field definitions to use * @throws Exception if there is a problem setting the field definitions */ public void setFieldDefs(ArrayList<Attribute> fieldDefs) throws Exception { super.setFieldDefs(fieldDefs); setUpField(); }
/** * Set the field definitions for this Expression to use * * @param fieldDefs the field definitions to use * @throws Exception if there is a problem setting the field definitions */ public void setFieldDefs(ArrayList<Attribute> fieldDefs) throws Exception { super.setFieldDefs(fieldDefs); setUpField(); }
/** * Set the field definitions for this Expression to use * * @param fieldDefs the field definitions to use * @throws Exception if there is a problem setting the field definitions */ public void setFieldDefs(ArrayList<Attribute> fieldDefs) throws Exception { super.setFieldDefs(fieldDefs); setUpField(); }
/** * Set the field definitions for this Expression to use * * @param fieldDefs the field definitions to use * @throws Exception if there is a problem setting the field definitions */ @Override public void setFieldDefs(ArrayList<Attribute> fieldDefs) throws Exception { super.setFieldDefs(fieldDefs); setUpField(); }
public void setFieldDefs(ArrayList<Attribute> fieldDefs) throws Exception { super.setFieldDefs(fieldDefs); updateDefsForArgumentsAndFunction(); }
/** * Set the field definitions for this Expression to use * * @param fieldDefs the field definitions to use * @throws Exception if there is a problem setting the field definitions */ public void setFieldDefs(ArrayList<Attribute> fieldDefs) throws Exception { super.setFieldDefs(fieldDefs); setUpField(); }
public void setFieldDefs(ArrayList<Attribute> fieldDefs) throws Exception { super.setFieldDefs(fieldDefs); validateField(); }
public void setFieldDefs(ArrayList<Attribute> fieldDefs) throws Exception { super.setFieldDefs(fieldDefs); validateField(); }
public void setFieldDefs(ArrayList<Attribute> fieldDefs) throws Exception { super.setFieldDefs(fieldDefs); updateDefsForArgumentsAndFunction(); }
private void updateDefsForArgumentsAndFunction() throws Exception { for (int i = 0; i < m_arguments.size(); i++) { m_arguments.get(i).setFieldDefs(m_fieldDefs); } // set the parameter defs for the function here so that we can determine // the structure of the output we produce ArrayList<Attribute> functionFieldDefs = new ArrayList<Attribute>(m_arguments.size()); for (int i = 0; i < m_arguments.size(); i++) { functionFieldDefs.add(m_arguments.get(i).getOutputDef()); } m_function.setParameterDefs(functionFieldDefs); m_outputStructure = m_function.getOutputDef(); }
private void updateDefsForArgumentsAndFunction() throws Exception { for (int i = 0; i < m_arguments.size(); i++) { m_arguments.get(i).setFieldDefs(m_fieldDefs); } // set the parameter defs for the function here so that we can determine // the structure of the output we produce ArrayList<Attribute> functionFieldDefs = new ArrayList<Attribute>(m_arguments.size()); for (int i = 0; i < m_arguments.size(); i++) { functionFieldDefs.add(m_arguments.get(i).getOutputDef()); } m_function.setParameterDefs(functionFieldDefs); m_outputStructure = m_function.getOutputDef(); }
m_expression.setFieldDefs(m_parameterDefs);
m_expression.setFieldDefs(m_parameterDefs);