public class CopyField extends Object
CopyField contains all the information of a valid copy fields in an index.| Modifier and Type | Field and Description | 
|---|---|
static int | 
UNLIMITED  | 
| Constructor and Description | 
|---|
CopyField(SchemaField source,
         SchemaField destination)  | 
CopyField(SchemaField source,
         SchemaField destination,
         int maxChars)  | 
| Modifier and Type | Method and Description | 
|---|---|
SchemaField | 
getDestination()  | 
String | 
getLimitedValue(String val)  | 
int | 
getMaxChars()  | 
SchemaField | 
getSource()  | 
public static final int UNLIMITED
public CopyField(SchemaField source, SchemaField destination)
public CopyField(SchemaField source, SchemaField destination, int maxChars)
source - The SchemaField of the source field.destination - The SchemaField of the destination field.maxChars - Maximum number of chars in source field to copy to destination field.
 If equal to 0, there is no limit.public SchemaField getSource()
public SchemaField getDestination()
public int getMaxChars()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.