use of org.apache.atlas.query.TypeUtils.FieldInfo in project incubator-atlas by apache.
the class AbstractGremlinQueryOptimizerTest method getTestFieldInfo.
private FieldInfo getTestFieldInfo() throws AtlasException {
AttributeDefinition def = new AttributeDefinition("foo", DataTypes.STRING_TYPE.getName(), Multiplicity.REQUIRED, false, null);
AttributeInfo attrInfo = new AttributeInfo(TypeSystem.getInstance(), def, null);
return new FieldInfo(DataTypes.STRING_TYPE, attrInfo, null, null);
}
Aggregations