org.apache.blur.thrift.util
Class BlurThriftHelper

java.lang.Object
  extended by org.apache.blur.thrift.util.BlurThriftHelper

public class BlurThriftHelper
extends Object


Constructor Summary
BlurThriftHelper()
           
 
Method Summary
static RecordMutation findRecordMutation(RowMutation mutation, Record record)
           
static boolean match(RecordMutation mutation, Record record)
           
static boolean match(Record left, Record right)
           
static Column newColumn(String name, String value)
           
static Record newRecord(String family, String recordId, Column... columns)
           
static RecordMutation newRecordMutation(RecordMutationType type, String family, String recordId, Column... columns)
           
static RecordMutation newRecordMutation(String family, String recordId, Column... columns)
           
static Row newRow(String rowId, Record... records)
           
static RowMutation newRowMutation(RowMutationType type, String table, String rowId, RecordMutation... mutations)
           
static RowMutation newRowMutation(String table, Row row)
           
static RowMutation newRowMutation(String table, String rowId, RecordMutation... mutations)
           
static Selector newSelector(String locationId)
           
static BlurQuery newSimpleQuery(String queryStr)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlurThriftHelper

public BlurThriftHelper()
Method Detail

newSelector

public static Selector newSelector(String locationId)

newSimpleQuery

public static BlurQuery newSimpleQuery(String queryStr)

newRowMutation

public static RowMutation newRowMutation(String table,
                                         String rowId,
                                         RecordMutation... mutations)

newRowMutation

public static RowMutation newRowMutation(RowMutationType type,
                                         String table,
                                         String rowId,
                                         RecordMutation... mutations)

newRecord

public static Record newRecord(String family,
                               String recordId,
                               Column... columns)

newRow

public static Row newRow(String rowId,
                         Record... records)

newColumn

public static Column newColumn(String name,
                               String value)

newRecordMutation

public static RecordMutation newRecordMutation(String family,
                                               String recordId,
                                               Column... columns)

newRecordMutation

public static RecordMutation newRecordMutation(RecordMutationType type,
                                               String family,
                                               String recordId,
                                               Column... columns)

findRecordMutation

public static RecordMutation findRecordMutation(RowMutation mutation,
                                                Record record)

match

public static boolean match(RecordMutation mutation,
                            Record record)

match

public static boolean match(Record left,
                            Record right)

newRowMutation

public static RowMutation newRowMutation(String table,
                                         Row row)


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.