org.apache.gobblin.configuration.State.equals()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(3.2k)|赞(0)|评价(0)|浏览(83)

本文整理了Java中org.apache.gobblin.configuration.State.equals()方法的一些代码示例,展示了State.equals()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。State.equals()方法的具体详情如下:
包路径:org.apache.gobblin.configuration.State
类名称:State
方法名:equals

State.equals介绍

暂无

代码示例

代码示例来源:origin: apache/incubator-gobblin

@Override
public boolean equals(Object object) {
 if (!(object instanceof WorkUnitState)) {
  return false;
 }
 WorkUnitState other = (WorkUnitState) object;
 return ((this.workUnit == null && other.workUnit == null)
   || (this.workUnit != null && this.workUnit.equals(other.workUnit)))
   && ((this.jobState == null && other.jobState == null)
     || (this.jobState != null && this.jobState.equals(other.jobState)))
   && super.equals(other);
}

代码示例来源:origin: apache/incubator-gobblin

@Override
public boolean equals(Object object) {
 if (!(object instanceof SourceState)) {
  return false;
 }
 SourceState other = (SourceState) object;
 return super.equals(other) && this.previousDatasetStatesByUrns.equals(other.previousDatasetStatesByUrns)
   && this.previousWorkUnitStates.equals(other.previousWorkUnitStates);
}

代码示例来源:origin: apache/incubator-gobblin

@Override
public boolean equals(Object object) {
 if (!(object instanceof WorkUnit)) {
  return false;
 }
 WorkUnit other = (WorkUnit) object;
 return ((this.extract == null && other.extract == null)
   || (this.extract != null && this.extract.equals(other.extract))) && super.equals(other);
}

代码示例来源:origin: apache/incubator-gobblin

@Override
public boolean equals(Object object) {
 if (!(object instanceof Extract)) {
  return false;
 }
 Extract other = (Extract) object;
 return super.equals(other) && this.getNamespace().equals(other.getNamespace())
   && this.getTable().equals(other.getTable()) && this.getExtractId().equals(other.getExtractId());
}

代码示例来源:origin: org.apache.gobblin/gobblin-api

@Override
public boolean equals(Object object) {
 if (!(object instanceof WorkUnitState)) {
  return false;
 }
 WorkUnitState other = (WorkUnitState) object;
 return ((this.workUnit == null && other.workUnit == null)
   || (this.workUnit != null && this.workUnit.equals(other.workUnit)))
   && ((this.jobState == null && other.jobState == null)
     || (this.jobState != null && this.jobState.equals(other.jobState)))
   && super.equals(other);
}

代码示例来源:origin: org.apache.gobblin/gobblin-api

@Override
public boolean equals(Object object) {
 if (!(object instanceof SourceState)) {
  return false;
 }
 SourceState other = (SourceState) object;
 return super.equals(other) && this.previousDatasetStatesByUrns.equals(other.previousDatasetStatesByUrns)
   && this.previousWorkUnitStates.equals(other.previousWorkUnitStates);
}

代码示例来源:origin: org.apache.gobblin/gobblin-api

@Override
public boolean equals(Object object) {
 if (!(object instanceof WorkUnit)) {
  return false;
 }
 WorkUnit other = (WorkUnit) object;
 return ((this.extract == null && other.extract == null)
   || (this.extract != null && this.extract.equals(other.extract))) && super.equals(other);
}

代码示例来源:origin: org.apache.gobblin/gobblin-api

@Override
public boolean equals(Object object) {
 if (!(object instanceof Extract)) {
  return false;
 }
 Extract other = (Extract) object;
 return super.equals(other) && this.getNamespace().equals(other.getNamespace())
   && this.getTable().equals(other.getTable()) && this.getExtractId().equals(other.getExtractId());
}

相关文章