作者:罂粟花的美童鞋 | 来源:互联网 | 2023-08-07 10:09
本文整理了Java中cascading.tuple.Fields.hashCode()
方法的一些代码示例,展示了Fields.hashCode()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Fields.hashCode()
方法的具体详情如下:
包路径:cascading.tuple.Fields
类名称:Fields
方法名:hashCode
Fields.hashCode介绍
[英]Field hashCode
[中]字段哈希码
代码示例
代码示例来源:origin: cwensel/cascading
public int hashCode()
{
int result;
result = sinkFields != null ? sinkFields.hashCode() : 0;
result = 31 * result + ( sourceFields != null ? sourceFields.hashCode() : 0 );
result = 31 * result + numSinkParts;
return result;
}
}
代码示例来源:origin: cwensel/cascading
@Override
public int hashCode()
{
int result = fieldDeclaration != null ? fieldDeclaration.hashCode() : 0;
result = 31 * result + numArgs;
return result;
}
}
代码示例来源:origin: dataArtisans/cascading-flink
@Override
public int hashCode() {
return 31 * this.fields.hashCode() + Arrays.hashCode(this.fieldSers);
}
代码示例来源:origin: cascading/cascading-bind
@Override
public int hashCode()
{
int result = name != null ? name.hashCode() : 0;
result = 31 * result + ( defaultProtocol != null ? defaultProtocol.hashCode() : 0 );
result = 31 * result + ( fields != null ? fields.hashCode() : 0 );
result = 31 * result + ( staticSchemes != null ? staticSchemes.hashCode() : 0 );
return result;
}
}
代码示例来源:origin: cwensel/cascading
@Override
public int hashCode()
{
int result = super.hashCode();
result = 31 * result + ( operation != null ? operation.hashCode() : 0 );
result = 31 * result + ( argumentSelector != null ? argumentSelector.hashCode() : 0 );
result = 31 * result + ( outputSelector != null ? outputSelector.hashCode() : 0 );
return result;
}
}
代码示例来源:origin: cascading/lingual-core
@Override
public int hashCode()
{
int result = name != null ? name.hashCode() : 0;
result = 31 * result + ( tableDef != null ? tableDef.hashCode() : 0 );
result = 31 * result + ( fields != null ? fields.hashCode() : 0 );
result = 31 * result + ( tuples != null ? tuples.hashCode() : 0 );
return result;
}
}
代码示例来源:origin: com.twitter/maple
@Override
public int hashCode() {
int result = super.hashCode();
result = 31 * result + (keyField != null ? keyField.hashCode() : 0);
result = 31 * result + (familyNames != null ? Arrays.hashCode(familyNames) : 0);
result = 31 * result + (valueFields != null ? Arrays.hashCode(valueFields) : 0);
return result;
}
}
代码示例来源:origin: cwensel/cascading
@Override
public int hashCode()
{
int result = super.hashCode();
result = 31 * result + ( groupingFields != null ? groupingFields.hashCode() : 0 );
result = 31 * result + ( argumentFields != null ? Arrays.hashCode( argumentFields ) : 0 );
result = 31 * result + ( functorFields != null ? Arrays.hashCode( functorFields ) : 0 );
result = 31 * result + ( functors != null ? Arrays.hashCode( functors ) : 0 );
return result;
}
}
代码示例来源:origin: cwensel/cascading
@Override
public int hashCode()
{
int result = fields != null ? fields.hashCode() : 0;
result = 31 * result + ( tuple != null ? tuple.hashCode() : 0 );
return result;
}
代码示例来源:origin: cwensel/cascading
@Override
public int hashCode()
{
int result = super.hashCode();
result = 31 * result + ( groupFieldSelector != null ? groupFieldSelector.hashCode() : 0 );
result = 31 * result + ( resultFieldSelectors != null ? Arrays.hashCode( resultFieldSelectors ) : 0 );
result = 31 * result + size;
return result;
}
}
代码示例来源:origin: cascading/cascading-jdbc-core
@Override
public int hashCode()
{
int result = super.hashCode();
result = 31 * result + ( inputFormatClass != null ? inputFormatClass.hashCode() : 0 );
result = 31 * result + ( outputFormatClass != null ? outputFormatClass.hashCode() : 0 );
result = 31 * result + ( columns != null ? Arrays.hashCode( columns ) : 0 );
result = 31 * result + ( orderBy != null ? Arrays.hashCode( orderBy ) : 0 );
result = 31 * result + ( conditions != null ? conditions.hashCode() : 0 );
result = 31 * result + ( updateBy != null ? Arrays.hashCode( updateBy ) : 0 );
result = 31 * result + ( updateValueFields != null ? updateValueFields.hashCode() : 0 );
result = 31 * result + ( updateByFields != null ? updateByFields.hashCode() : 0 );
result = 31 * result + ( columnFields != null ? columnFields.hashCode() : 0 );
result = 31 * result + ( updateIfTuple != null ? updateIfTuple.hashCode() : 0 );
result = 31 * result + ( selectQuery != null ? selectQuery.hashCode() : 0 );
result = 31 * result + ( countQuery != null ? countQuery.hashCode() : 0 );
result = 31 * result + (int) ( limit ^ ( limit >>> 32 ) );
return result;
}
}