SolrTestCaseJ4.Doc (Solr 3.6.2 API)
Keywords: org.apache.solr.SolrTestCaseJ4.Doc class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.solr
Class SolrTestCaseJ4.Doc

    java.lang.Object
      org.apache.solr.SolrTestCaseJ4.Doc

All Implemented Interfaces:
  Comparable

Enclosing class:
  SolrTestCaseJ4

    public static class SolrTestCaseJ4.Doc

extends Object
implements Comparable

Field Summary
`List<SolrTestCaseJ4.Fld>` | `fields`
`Comparable` | `id`
`int` | `order`

Constructor Summary
`SolrTestCaseJ4.Doc()`

Method Summary
`int` | `compareTo(Object o)`
`boolean` | `equals(Object o)`
`Comparable` | `getFirstValue(String field)`
`List<Comparable>` | `getValues(String field)`
`int` | `hashCode()`
`Map<String,Object>` | `toObject(org.apache.solr.schema.IndexSchema schema)`
`String` | `toString()`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Field Detail

### id

    public Comparable id

### fields

    public List<SolrTestCaseJ4.Fld> fields

### order

    public int order

Constructor Detail

### SolrTestCaseJ4.Doc

    public SolrTestCaseJ4.Doc()

Method Detail

### toString

    public String toString()

  Overrides:
    `toString` in class `Object`

### hashCode

    public int hashCode()

  Overrides:
    `hashCode` in class `Object`

### equals

    public boolean equals(Object o)

  Overrides:
    `equals` in class `Object`

### compareTo

    public int compareTo(Object o)

  Specified by:
    `compareTo` in interface `Comparable`

### getValues

    public List<Comparable> getValues(String field)

### getFirstValue

    public Comparable getFirstValue(String field)

### toObject

    public Map<String,Object> toObject(org.apache.solr.schema.IndexSchema schema)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD