Package org.apache.pig.impl.logicalLayer.schema

Examples of org.apache.pig.impl.logicalLayer.schema.AtomSchema


   
  }
 
  @Override
  public Schema outputSchema(Schema input) {
    return new AtomSchema("nextAfter_"+input.toString());
  }
View Full Code Here


   
  }
 
  @Override
  public Schema outputSchema(Schema input) {
    return new AtomSchema("cos_"+input.toString());
  }
View Full Code Here

   
  }
 
  @Override
  public Schema outputSchema(Schema input) {
    return new AtomSchema("ceil_"+input.toString());
  }
View Full Code Here

   
  }
 
  @Override
  public Schema outputSchema(Schema input) {
    return new AtomSchema("asin_"+input.toString());
  }
View Full Code Here

    }
   
  }
  @Override
  public Schema outputSchema(Schema input) {
    return new AtomSchema("IEEEremainder_"+input.toString());
  }
View Full Code Here

   
  }
 
  @Override
  public Schema outputSchema(Schema input) {
    return new AtomSchema("SIN_"+input.toString());
  }
View Full Code Here

   
  }
 
  @Override
  public Schema outputSchema(Schema input) {
    return new AtomSchema("abs_"+input.toString());
  }
View Full Code Here

        func.exec(input, output);
        assertTrue(output.strval().equals(expected));

        // test schema creation
        String fieldName = "field1";
        AtomSchema fieldSchema = new AtomSchema(fieldName);
        TupleSchema tupleSchema = new TupleSchema();
        tupleSchema.add(fieldSchema, false);
        Schema outSchema = func.outputSchema(tupleSchema);
        assertTrue(outSchema.toString().equals("upper_" + fieldName));
View Full Code Here

   
  }
 
  @Override
  public Schema outputSchema(Schema input) {
    return new AtomSchema("TANH_"+input.toString());
  }
View Full Code Here

   
  }
 
  @Override
  public Schema outputSchema(Schema input) {
    return new AtomSchema("SCALB_"+input.toString());
  }
View Full Code Here

TOP

Related Classes of org.apache.pig.impl.logicalLayer.schema.AtomSchema

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.