Package | Description |
---|---|
org.apache.pig.scripting.jruby |
Modifier and Type | Method and Description |
---|---|
RubySchema |
RubySchema.add(org.jruby.runtime.ThreadContext context,
org.jruby.runtime.builtin.IRubyObject[] args)
This method provides addition semantics, without modifying the original Schema.
|
static RubySchema |
RubySchema.bag(org.jruby.runtime.ThreadContext context,
org.jruby.runtime.builtin.IRubyObject self,
org.jruby.runtime.builtin.IRubyObject arg)
This is a ruby method which takes an array of arguments and constructs a Bag schema from them.
|
static RubySchema |
RubySchema.bag(org.jruby.runtime.ThreadContext context,
org.jruby.runtime.builtin.IRubyObject self,
org.jruby.runtime.builtin.IRubyObject arg1,
org.jruby.runtime.builtin.IRubyObject arg2)
This is a ruby method which takes a name and an array of arguments and constructs a Bag schema
from them.
|
RubySchema |
RubySchema.clone(org.jruby.runtime.ThreadContext context) |
RubySchema |
RubySchema.find(org.jruby.runtime.ThreadContext context,
org.jruby.runtime.builtin.IRubyObject arg)
Given a field name this string will search the RubySchema for a FieldSchema
with that name and return it encapsulated in a Schema.
|
RubySchema |
RubySchema.get(org.jruby.runtime.ThreadContext context)
This method allows access into the Schema nested in the encapsulated Schema.
|
RubySchema |
RubySchema.get(org.jruby.runtime.ThreadContext context,
org.jruby.runtime.builtin.IRubyObject arg)
This is the ruby method which allows people to access elements of the RubySchema object.
|
RubySchema |
RubySchema.get(org.jruby.runtime.ThreadContext context,
org.jruby.runtime.builtin.IRubyObject arg1,
org.jruby.runtime.builtin.IRubyObject arg2)
This is a version of [] which allows the range to be specified as such: [1,2].
|
RubySchema |
RubySchema.initialize(org.jruby.runtime.builtin.IRubyObject[] args)
The ruby initializer accepts any number of arguments.
|
static RubySchema |
RubySchema.map(org.jruby.runtime.ThreadContext context,
org.jruby.runtime.builtin.IRubyObject self,
org.jruby.runtime.builtin.IRubyObject arg)
This is a ruby method which takes an array of arguments and constructs a Map schema from them.
|
static RubySchema |
RubySchema.map(org.jruby.runtime.ThreadContext context,
org.jruby.runtime.builtin.IRubyObject self,
org.jruby.runtime.builtin.IRubyObject arg1,
org.jruby.runtime.builtin.IRubyObject arg2)
This is a ruby method which takes a name and an array of arguments and constructs a Map schema
from them.
|
static RubySchema |
RubySchema.nullBag(org.jruby.runtime.ThreadContext context,
org.jruby.runtime.builtin.IRubyObject self)
This is a static helper method to create a null aliased bag Schema.
|
static RubySchema |
RubySchema.nullBoolean(org.jruby.runtime.ThreadContext context,
org.jruby.runtime.builtin.IRubyObject self)
This is a static helper method to create a null aliased Boolean Schema.
|
static RubySchema |
RubySchema.nullBytearray(org.jruby.runtime.ThreadContext context,
org.jruby.runtime.builtin.IRubyObject self)
This is a static helper method to create a null aliased bytearray Schema.
|
static RubySchema |
RubySchema.nullChararray(org.jruby.runtime.ThreadContext context,
org.jruby.runtime.builtin.IRubyObject self)
This is a static helper method to create a null aliased chararray Schema.
|
static RubySchema |
RubySchema.nullDateTime(org.jruby.runtime.ThreadContext context,
org.jruby.runtime.builtin.IRubyObject self)
This is a static helper method to create a null aliased datetime Schema.
|
static RubySchema |
RubySchema.nullDouble(org.jruby.runtime.ThreadContext context,
org.jruby.runtime.builtin.IRubyObject self)
This is a static helper method to create a null aliased double Schema.
|
static RubySchema |
RubySchema.nullFloate(org.jruby.runtime.ThreadContext context,
org.jruby.runtime.builtin.IRubyObject self)
This is a static helper method to create a null aliased float Schema.
|
static RubySchema |
RubySchema.nullInt(org.jruby.runtime.ThreadContext context,
org.jruby.runtime.builtin.IRubyObject self)
This is a static helper method to create a null aliased int Schema.
|
static RubySchema |
RubySchema.nullLong(org.jruby.runtime.ThreadContext context,
org.jruby.runtime.builtin.IRubyObject self)
This is a static helper method to create a null aliased long Schema.
|
static RubySchema |
RubySchema.nullMap(org.jruby.runtime.ThreadContext context,
org.jruby.runtime.builtin.IRubyObject self)
This is a static helper method to create a null aliased map Schema.
|
static RubySchema |
RubySchema.nullTuple(org.jruby.runtime.ThreadContext context,
org.jruby.runtime.builtin.IRubyObject self)
This is a static helper method to create a null aliased tuple Schema.
|
static RubySchema |
PigJrubyLibrary.pigToRuby(org.jruby.Ruby ruby,
Schema object)
A type specific conversion routine.
|
RubySchema |
RubySchema.set(org.jruby.runtime.ThreadContext context,
org.jruby.runtime.builtin.IRubyObject[] args)
This allows the users to set an index or a range of values to
a specified RubySchema.
|
static RubySchema |
RubySchema.tuple(org.jruby.runtime.ThreadContext context,
org.jruby.runtime.builtin.IRubyObject self,
org.jruby.runtime.builtin.IRubyObject arg)
This is a ruby method which takes an array of arguments and constructs a Tuple schema from them.
|
static RubySchema |
RubySchema.tuple(org.jruby.runtime.ThreadContext context,
org.jruby.runtime.builtin.IRubyObject self,
org.jruby.runtime.builtin.IRubyObject arg1,
org.jruby.runtime.builtin.IRubyObject arg2)
This is a ruby method which takes a name and an array of arguments and constructs a Tuple schema
from them.
|
Modifier and Type | Method and Description |
---|---|
static Schema |
PigJrubyLibrary.rubyToPig(RubySchema rbObject)
A type specific conversion routine.
|
Copyright © 2007-2017 The Apache Software Foundation