org.elasticsearch.index.mapper
Class SourceToParse

java.lang.Object
  extended by org.elasticsearch.index.mapper.SourceToParse

public class SourceToParse
extends Object


Constructor Summary
SourceToParse(BytesReference source)
           
SourceToParse(XContentParser parser)
           
 
Method Summary
 boolean flyweight()
           
 SourceToParse flyweight(boolean flyweight)
           
 String id()
           
 SourceToParse id(String id)
           
 String parent()
           
 SourceToParse parent(String parentId)
           
 XContentParser parser()
           
 String routing()
           
 SourceToParse routing(String routing)
           
 BytesReference source()
           
static SourceToParse source(BytesReference source)
           
static SourceToParse source(XContentParser parser)
           
 long timestamp()
           
 SourceToParse timestamp(long timestamp)
           
 SourceToParse timestamp(String timestamp)
           
 long ttl()
           
 SourceToParse ttl(long ttl)
           
 String type()
           
 SourceToParse type(String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceToParse

public SourceToParse(XContentParser parser)

SourceToParse

public SourceToParse(BytesReference source)
Method Detail

source

public static SourceToParse source(XContentParser parser)

source

public static SourceToParse source(BytesReference source)

parser

public XContentParser parser()

source

public BytesReference source()

type

public String type()

type

public SourceToParse type(String type)

flyweight

public SourceToParse flyweight(boolean flyweight)

flyweight

public boolean flyweight()

id

public String id()

id

public SourceToParse id(String id)

parent

public String parent()

parent

public SourceToParse parent(String parentId)

routing

public String routing()

routing

public SourceToParse routing(String routing)

timestamp

public long timestamp()

timestamp

public SourceToParse timestamp(String timestamp)

timestamp

public SourceToParse timestamp(long timestamp)

ttl

public long ttl()

ttl

public SourceToParse ttl(long ttl)


Copyright © 2009-2012. All Rights Reserved.