Package org.apache.pig.builtin

Examples of org.apache.pig.builtin.CurrentTime


        Tuple t13 = TupleFactory.getInstance().newTuple(1);
        t13.set(0, new DateTime(1231290421000L));
        Long ut2 = func7.exec(t11);
        assertEquals(ut2.longValue(), 1231290421000L);
       
        CurrentTime func8 = new CurrentTime();
        DateTime dt11 = func8.exec(null);
        Assert.assertNotNull(dt11);
    }
View Full Code Here

TOP

Related Classes of org.apache.pig.builtin.CurrentTime

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.