public Schema from ( String originFieldName ) { if ( lastField == null ) { throw new ValidationException ( "No field previously defined. Use field() before." ) ; } tableSchema . get ( lastField ) . put ( SCHEMA_FROM , originFieldName ) ; lastField = null ; return this ; }
Specifies the origin of the previously defined field . The origin field is defined by a connector or format .