public static Map<String, String> columnStartAndEndTimeFromXColumns(XColumns columns) { if (columns != null && !columns.getColumn().isEmpty()) { Map<String, String> colStartTimeMap = new HashMap<String, String>(); for (XColumn c : columns.getColumn()) { if (!(c.getStartTime() == null)) { colStartTimeMap.put(MetastoreConstants.FACT_COL_START_TIME_PFX.concat(c.getName()), c.getStartTime()); } if (!(c.getEndTime() == null)) { colStartTimeMap.put(MetastoreConstants.FACT_COL_END_TIME_PFX.concat(c.getName()), c.getEndTime()); } } return colStartTimeMap; } return null; }
public static Map<String, String> columnStartAndEndTimeFromXColumns(XColumns columns) { if (columns != null && !columns.getColumn().isEmpty()) { Map<String, String> colStartTimeMap = new HashMap<String, String>(); for (XColumn c : columns.getColumn()) { if (!(c.getStartTime() == null)) { colStartTimeMap.put(MetastoreConstants.FACT_COL_START_TIME_PFX.concat(c.getName()), c.getStartTime()); } if (!(c.getEndTime() == null)) { colStartTimeMap.put(MetastoreConstants.FACT_COL_END_TIME_PFX.concat(c.getName()), c.getEndTime()); } } return colStartTimeMap; } return null; }
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { { String theName; theName = this.getName(); strategy.appendField(locator, this, "name", buffer, theName); } { String theType; theType = this.getType(); strategy.appendField(locator, this, "type", buffer, theType); } { String theComment; theComment = this.getComment(); strategy.appendField(locator, this, "comment", buffer, theComment); } { String theStartTime; theStartTime = this.getStartTime(); strategy.appendField(locator, this, "startTime", buffer, theStartTime); } { String theEndTime; theEndTime = this.getEndTime(); strategy.appendField(locator, this, "endTime", buffer, theEndTime); } return buffer; }
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { { String theName; theName = this.getName(); strategy.appendField(locator, this, "name", buffer, theName); } { String theType; theType = this.getType(); strategy.appendField(locator, this, "type", buffer, theType); } { String theComment; theComment = this.getComment(); strategy.appendField(locator, this, "comment", buffer, theComment); } { String theStartTime; theStartTime = this.getStartTime(); strategy.appendField(locator, this, "startTime", buffer, theStartTime); } { String theEndTime; theEndTime = this.getEndTime(); strategy.appendField(locator, this, "endTime", buffer, theEndTime); } return buffer; }
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = 1; { String theName; theName = this.getName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "name", theName), currentHashCode, theName); } { String theType; theType = this.getType(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "type", theType), currentHashCode, theType); } { String theComment; theComment = this.getComment(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "comment", theComment), currentHashCode, theComment); } { String theStartTime; theStartTime = this.getStartTime(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "startTime", theStartTime), currentHashCode, theStartTime); } { String theEndTime; theEndTime = this.getEndTime(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "endTime", theEndTime), currentHashCode, theEndTime); } return currentHashCode; }
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = 1; { String theName; theName = this.getName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "name", theName), currentHashCode, theName); } { String theType; theType = this.getType(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "type", theType), currentHashCode, theType); } { String theComment; theComment = this.getComment(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "comment", theComment), currentHashCode, theComment); } { String theStartTime; theStartTime = this.getStartTime(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "startTime", theStartTime), currentHashCode, theStartTime); } { String theEndTime; theEndTime = this.getEndTime(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "endTime", theEndTime), currentHashCode, theEndTime); } return currentHashCode; }
lhsEndTime = this.getEndTime(); String rhsEndTime; rhsEndTime = that.getEndTime(); if (!strategy.equals(LocatorUtils.property(thisLocator, "endTime", lhsEndTime), LocatorUtils.property(thatLocator, "endTime", rhsEndTime), lhsEndTime, rhsEndTime)) { return false;
lhsEndTime = this.getEndTime(); String rhsEndTime; rhsEndTime = that.getEndTime(); if (!strategy.equals(LocatorUtils.property(thisLocator, "endTime", lhsEndTime), LocatorUtils.property(thatLocator, "endTime", rhsEndTime), lhsEndTime, rhsEndTime)) { return false;