本文整理了Java中org.apache.gobblin.configuration.State.equals()
方法的一些代码示例,展示了State.equals()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。State.equals()
方法的具体详情如下:
包路径:org.apache.gobblin.configuration.State
类名称: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());
}
内容来源于网络,如有侵权,请联系作者删除!