MCPcopy Create free account
hub / github.com/apache/pig / setFields

Method setFields

src/org/apache/pig/ResourceSchema.java:370–374  ·  view source on GitHub ↗

Set all the fields. If fields are not currently null the new fields will be silently ignored. @param fields to use as fields in this schema @return this

(ResourceFieldSchema[] fields)

Source from the content-addressed store, hash-verified

368 * @return this
369 */
370 public ResourceSchema setFields(ResourceFieldSchema[] fields) {
371 if (fields != null)
372 this.fields = Arrays.copyOf(fields, fields.length);
373 return this;
374 }
375
376 /**
377 * Get the sort keys for this data.

Callers 15

getSchemaMethod · 0.95
convertMethod · 0.95
inconvertMethod · 0.95
add2BagSchemaMethod · 0.95
wrapAsTupleMethod · 0.95
getTupleFieldSchemaMethod · 0.95
getBagFieldSchemaMethod · 0.95
testToStringAndParseMethod · 0.95
getRandMapFieldSchemaMethod · 0.95

Calls

no outgoing calls