org.elasticsearch.cluster.metadata
Class MappingMetaData.Timestamp

java.lang.Object
  extended by org.elasticsearch.cluster.metadata.MappingMetaData.Timestamp
Enclosing class:
MappingMetaData

public static class MappingMetaData.Timestamp
extends Object


Field Summary
static MappingMetaData.Timestamp EMPTY
           
 
Constructor Summary
MappingMetaData.Timestamp(boolean enabled, String path, String format)
           
 
Method Summary
 FormatDateTimeFormatter dateTimeFormatter()
           
 boolean enabled()
           
 boolean equals(Object o)
           
 String format()
           
 int hashCode()
           
 boolean hasPath()
           
static String parseStringTimestamp(String timestampAsString, FormatDateTimeFormatter dateTimeFormatter)
           
 String path()
           
 String[] pathElements()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY

public static final MappingMetaData.Timestamp EMPTY
Constructor Detail

MappingMetaData.Timestamp

public MappingMetaData.Timestamp(boolean enabled,
                                 String path,
                                 String format)
Method Detail

parseStringTimestamp

public static String parseStringTimestamp(String timestampAsString,
                                          FormatDateTimeFormatter dateTimeFormatter)
                                   throws TimestampParsingException
Throws:
TimestampParsingException

enabled

public boolean enabled()

hasPath

public boolean hasPath()

path

public String path()

pathElements

public String[] pathElements()

format

public String format()

dateTimeFormatter

public FormatDateTimeFormatter dateTimeFormatter()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2009-2012. All Rights Reserved.