parcel | Lucy |
class variable | LUCY_BLOBTYPE |
struct symbol | lucy_BlobType |
class nickname | lucy_BlobType |
header file | Lucy/Plan/BlobType.h |
Lucy::Plan::BlobType – Default behaviors for binary fields.
BlobType is an implementation of FieldType tuned for use with fields containing binary data, which cannot be indexed or searched – only stored.
lucy_BlobType* // incremented
lucy_BlobType_new(
bool stored
);
Create a new BlobType.
boolean indicating whether the field should be stored.
lucy_BlobType*
lucy_BlobType_init(
lucy_BlobType *self,
bool stored
);
Initialize a BlobType.
boolean indicating whether the field should be stored.
bool
lucy_BlobType_Binary(
lucy_BlobType *self
);
Returns true.
void
lucy_BlobType_Set_Sortable(
lucy_BlobType *self,
bool sortable
);
Throws an error unless sortable
is false.
bool
lucy_BlobType_Equals(
lucy_BlobType *self,
cfish_Obj *other
);
Compares all common properties.
void
lucy_BlobType_Set_Boost(
lucy_BlobType *self,
float boost
);
Setter for boost
.
float
lucy_BlobType_Get_Boost(
lucy_BlobType *self
);
Accessor for boost
.
void
lucy_BlobType_Set_Indexed(
lucy_BlobType *self,
bool indexed
);
Setter for indexed
.
bool
lucy_BlobType_Indexed(
lucy_BlobType *self
);
Accessor for indexed
.
void
lucy_BlobType_Set_Stored(
lucy_BlobType *self,
bool stored
);
Setter for stored
.
bool
lucy_BlobType_Stored(
lucy_BlobType *self
);
Accessor for stored
.
bool
lucy_BlobType_Sortable(
lucy_BlobType *self
);
Accessor for sortable
.
Lucy::Plan::BlobType is a Lucy::Plan::FieldType is a Clownfish::Obj.
Copyright © 2010-2015 The Apache Software Foundation, Licensed under the
Apache License, Version 2.0.
Apache Lucy, Lucy, Apache, the Apache feather logo, and the Apache Lucy project logo are trademarks of The
Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their
respective owners.