public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { super.appendFields(locator, buffer, strategy); { List<XExprSpec> theExprSpec; theExprSpec = (((this.exprSpec!= null)&&(!this.exprSpec.isEmpty()))?this.getExprSpec():null); strategy.appendField(locator, this, "exprSpec", buffer, theExprSpec); } { String theType; theType = this.getType(); strategy.appendField(locator, this, "type", buffer, theType); } return buffer; }
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { super.appendFields(locator, buffer, strategy); { List<XExprSpec> theExprSpec; theExprSpec = (((this.exprSpec!= null)&&(!this.exprSpec.isEmpty()))?this.getExprSpec():null); strategy.appendField(locator, this, "exprSpec", buffer, theExprSpec); } { String theType; theType = this.getType(); strategy.appendField(locator, this, "type", buffer, theType); } return buffer; }
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = super.hashCode(locator, strategy); { List<XExprSpec> theExprSpec; theExprSpec = (((this.exprSpec!= null)&&(!this.exprSpec.isEmpty()))?this.getExprSpec():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "exprSpec", theExprSpec), currentHashCode, theExprSpec); } { String theType; theType = this.getType(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "type", theType), currentHashCode, theType); } return currentHashCode; }
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = super.hashCode(locator, strategy); { List<XExprSpec> theExprSpec; theExprSpec = (((this.exprSpec!= null)&&(!this.exprSpec.isEmpty()))?this.getExprSpec():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "exprSpec", theExprSpec), currentHashCode, theExprSpec); } { String theType; theType = this.getType(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "type", theType), currentHashCode, theType); } return currentHashCode; }
public static ExprColumn hiveExprColumnFromXExprColumn(XExprColumn xe) throws LensException { ExprColumn ec = new ExprColumn(new FieldSchema(xe.getName(), xe.getType().toLowerCase(), xe.getDescription()), xe.getDisplayString(), mapFromXProperties(xe.getTags()), exprSpecFromXExprColumn(xe.getExprSpec())); return ec; }
public static ExprColumn hiveExprColumnFromXExprColumn(XExprColumn xe) throws LensException { ExprColumn ec = new ExprColumn(new FieldSchema(xe.getName(), xe.getType().toLowerCase(), xe.getDescription()), xe.getDisplayString(), mapFromXProperties(xe.getTags()), exprSpecFromXExprColumn(xe.getExprSpec())); return ec; }