Interface ICompilableProperty

All Superinterfaces:
Cloneable, IClone<IProperty>, IProperty
All Known Implementing Classes:
Property

public interface ICompilableProperty extends IProperty
Extension of the IProperty interface that adds support for compiled properties.
Author:
ActiveViam
  • Method Details

    • compileFor

      <T> ICompiledProperty<T> compileFor(Class<T> cls) throws ActiveViamRuntimeException
      Compile a property instance specifically for a target class. The compiled property will execute faster than its parent dynamic property, but it will only support instances of the target compilation class.
      Type Parameters:
      T - the class.
      Parameters:
      cls - The class to compiles the property for.
      Returns:
      compiled property
      Throws:
      ActiveViamRuntimeException - If the compilation fails.